Changeset 9c05850c in rtems


Ignore:
Timestamp:
Jun 3, 2006, 3:04:41 AM (14 years ago)
Author:
Jay Monkman <jtm@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1ca844f9
Parents:
3a06b20
Message:

2006-06-02 Jay Monkman

  • network/network.c: Changed interrupt handling to use shared rtems_irq_connect_data struct.
Location:
c/src/lib/libbsp/arm/csb336
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/csb336/ChangeLog

    r3a06b20 r9c05850c  
     12006-06-02      Jay Monkman
     2
     3        * network/network.c: Changed interrupt handling
     4        to use shared rtems_irq_connect_data struct.
     5
    162006-06-02      Jay Monkman <jtm@lopingdog.com>
    27
  • c/src/lib/libbsp/arm/csb336/network/network.c

    r3a06b20 r9c05850c  
    4242#define START_TRANSMIT_EVENT    RTEMS_EVENT_2
    4343
    44 static rtems_isr enet_isr(rtems_vector_number vector);
     44static void enet_isr(rtems_irq_hdl_param);
    4545static void enet_isr_on(const rtems_irq_connect_data *unused);
    4646static void enet_isr_off(const rtems_irq_connect_data *unused);
     
    4848
    4949/* Replace the first value with the clock's interrupt name. */
    50 rtems_irq_connect_data mc9328mxl_enet_isr_data = {BSP_INT_GPIO_PORTA,
    51                                                   (rtems_irq_hdl)enet_isr,
    52                                                   enet_isr_on,
    53                                                   enet_isr_off,
    54                                                   enet_isr_is_on,
    55                                                   3,    /* unused for ARM */
    56                                                   0 };  /* unused for ARM */
    57 
     50rtems_irq_connect_data mc9328mxl_enet_isr_data = {
     51    .name    = BSP_INT_GPIO_PORTA,
     52    .hdl     = (rtems_irq_hdl)enet_isr,
     53    .handle  = (void *)BSP_INT_GPIO_PORTA,
     54    .on      = enet_isr_on,
     55    .off     = enet_isr_off,
     56    .isOn    = enet_isr_is_on,
     57};
    5858typedef struct {
    5959  unsigned long rx_packets;        /* total packets received         */
     
    103103void mc9328mxl_enet_rx_task(void *arg);
    104104void mc9328mxl_enet_stats(mc9328mxl_enet_softc_t *sc);
    105 static int mc9328mxl_enet_ioctl(struct ifnet *ifp, int command, caddr_t data);
     105static int mc9328mxl_enet_ioctl(struct ifnet *ifp,
     106                                unsigned long command, caddr_t data);
    106107
    107108
     
    632633/*  Driver ioctl handler */
    633634static int
    634 mc9328mxl_enet_ioctl (struct ifnet *ifp, int command, caddr_t data)
     635mc9328mxl_enet_ioctl (struct ifnet *ifp, unsigned long command, caddr_t data)
    635636{
    636637    mc9328mxl_enet_softc_t *sc = ifp->if_softc;
     
    679680
    680681/* interrupt handler */
    681 rtems_isr enet_isr (rtems_vector_number v)
     682static void enet_isr(rtems_irq_hdl_param unused)
    682683{
    683684    uint16_t int_reg;
Note: See TracChangeset for help on using the changeset viewer.