Changeset 541c5ddc in rtems


Ignore:
Timestamp:
May 8, 2012, 6:25:44 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
959a701
Parents:
a29909c
git-author:
Joel Sherrill <joel.sherrill@…> (05/08/12 18:25:44)
git-committer:
Joel Sherrill <joel.sherrill@…> (05/09/12 21:56:35)
Message:

csb350 - Eliminate any set_vector() remnants

Location:
c/src/lib/libbsp/mips/csb350
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/csb350/include/bsp.h

    ra29909c r541c5ddc  
    4545#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_au1x00_emac_attach
    4646
    47 /* functions */
    48 
    49 rtems_isr_entry set_vector(
    50   rtems_isr_entry, rtems_vector_number, int );
    51 
    5247#ifdef __cplusplus
    5348}
  • c/src/lib/libbsp/mips/csb350/network/network.c

    ra29909c r541c5ddc  
    338338        /* install the interrupt handler */
    339339        if (sc->unitnumber == 0) {
    340             set_vector(au1x00_emac_isr, AU1X00_IRQ_MAC0, 1);
     340            rtems_interrupt_handler_install(
     341              AU1X00_IRQ_MAC0,
     342              "NIC0",
     343              0,
     344              (rtems_interrupt_handler)au1x00_emac_isr,
     345              NULL
     346            );
    341347        } else {
    342             set_vector(au1x00_emac_isr, AU1X00_IRQ_MAC1, 1);
     348            rtems_interrupt_handler_install(
     349              AU1X00_IRQ_MAC1,
     350              "NIC1",
     351              0,
     352              (rtems_interrupt_handler)au1x00_emac_isr,
     353              NULL
     354            );
    343355        }
    344356        AU1X00_IC_MASKCLR(sc->int_ctrlr) = sc->int_mask;
Note: See TracChangeset for help on using the changeset viewer.