Changeset 24af51c5 in rtems


Ignore:
Timestamp:
Sep 14, 2007, 2:58:23 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
07e76b9b
Parents:
f2e3e37
Message:

2007-09-14 Daron Chabot <djc915@…>

  • libchip/network/if_dc.c: Changed type of ISR argument to void* from rtems_interrupt_vector, to permit passing arbitrary arguments to the ISR. Clean up of variables to silence compiler warnings.
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    rf2e3e37 r24af51c5  
     12007-09-14      Daron Chabot <djc915@mail.usask.ca>
     2
     3        * libchip/network/if_dc.c: Changed type of ISR argument to void* from
     4        rtems_interrupt_vector, to permit passing arbitrary arguments to the
     5        ISR. Clean up of variables to silence compiler warnings.
     6
    172007-09-13      Daniel Hellstrom <daniel@gaisler.com>
    28
  • c/src/libchip/network/if_dc.c

    rf2e3e37 r24af51c5  
    292292/*static void           dc_tick((void *));*/
    293293static void             dc_tx_underrun(struct dc_softc *);
    294 static rtems_isr        dc_intr(rtems_vector_number);
     294static void                     dc_intr(void *);
    295295static void             dc_daemon(void *);
    296296static void             dc_start(struct ifnet *);
     
    16051605{
    16061606        struct dc_type          *t;
    1607         uint32_t                rev;
     1607        unsigned int            rev;
    16081608        int                     rc;
    16091609
     
    19091909        int                     unitNumber;
    19101910       
    1911         uint32_t                command;
     1911        unsigned int            command;
    19121912        struct dc_softc         *sc;
    19131913        struct ifnet            *ifp;
    19141914        struct dc_type          *t;
    1915         uint32_t                revision;
     1915        unsigned int            revision;
    19161916        int                     error = 0, mac_offset;
    1917         uint32_t                value;
     1917        unsigned int            value;
    19181918       
    19191919        /*
     
    31093109
    31103110static void
    3111 dc_intr(rtems_vector_number v)
     3111dc_intr(void* arg)
    31123112{
    31133113        /* Need to make this work for multiple devices ... eventually */
    3114         struct dc_softc         *sc = &dc_softc_devs[0];
     3114        struct dc_softc         *sc = (struct dc_softc *)arg;
    31153115
    31163116
Note: See TracChangeset for help on using the changeset viewer.