Changeset cece8db in rtems for c/src/lib


Ignore:
Timestamp:
Jul 17, 2012, 3:41:21 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
c0456d7f
Parents:
f024d4f
git-author:
Sebastian Huber <sebastian.huber@…> (07/17/12 15:41:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/18/12 07:46:15)
Message:

bsp/mpc55xx: Add SMSC9218I_IRQ_PIN

Location:
c/src/lib/libbsp/powerpc/mpc55xxevb
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac

    rf024d4f rcece8db  
    120120[reset pin for SMSC9218I network interface])
    121121
     122RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[mpc5674f_ecu508*],[450])
     123RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[*],[193])
     124RTEMS_BSPOPTS_HELP([SMSC9218I_IRQ_PIN],
     125[IRQ pin for SMSC9218I network interface])
     126
    122127RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5643l*],[])
    123128RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5674f*],[31])
  • c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in

    rf024d4f rcece8db  
    129129#undef SMSC9218I_ENABLE_LED_OUTPUTS
    130130
     131/* IRQ pin for SMSC9218I network interface */
     132#undef SMSC9218I_IRQ_PIN
     133
    131134/* reset pin for SMSC9218I network interface */
    132135#undef SMSC9218I_RESET_PIN
  • c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c

    rf024d4f rcece8db  
    15301530  pcr.B.ODE = 0;
    15311531  pcr.B.HYS = 0;
    1532   pcr.B.SRC = 3;
     1532  pcr.B.SRC = 0;
    15331533  pcr.B.WPE = 0;
    15341534  pcr.B.WPS = 1;
    1535   SIU.PCR [193].R = pcr.R;
     1535  SIU.PCR [SMSC9218I_IRQ_PIN].R = pcr.R;
    15361536
    15371537  /* DMA/Interrupt Request Select */
Note: See TracChangeset for help on using the changeset viewer.