Changeset 20aba89 in rtems


Ignore:
Timestamp:
Dec 15, 2014, 10:55:27 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
a37ffeb
Parents:
b7cd6d51
Message:

bsp/mpc55xxevb: Fix warnings

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

Legend:

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

    rb7cd6d51 r20aba89  
    143143
    144144RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[mpc5674f_ecu508*],[433])
    145 RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[*],[186])
     145RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[mpc5566*],[186])
     146RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[*],[])
    146147RTEMS_BSPOPTS_HELP([SMSC9218I_RESET_PIN],
    147148[reset pin for SMSC9218I network interface])
    148149
    149150RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[mpc5674f_ecu508*],[450])
    150 RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[*],[193])
     151RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[mpc5566*],[193])
     152RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[*],[])
    151153RTEMS_BSPOPTS_HELP([SMSC9218I_IRQ_PIN],
    152154[IRQ pin for SMSC9218I network interface])
  • c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c

    rb7cd6d51 r20aba89  
    16581658)
    16591659{
     1660#ifdef SMSC9218I_IRQ_PIN
    16601661  rtems_status_code sc = RTEMS_SUCCESSFUL;
    16611662  union SIU_PCR_tag pcr = MPC55XX_ZERO_FLAGS;
     
    17441745  /* Enable error interrupts */
    17451746  regs->int_en = SMSC9218I_ERROR_INTERRUPTS;
     1747#endif
    17461748}
    17471749
    17481750static void smsc9218i_reset_signal(bool signal)
    17491751{
     1752#ifdef SMSC9218I_RESET_PIN
    17501753  SIU.GPDO [SMSC9218I_RESET_PIN].R = signal ? 1 : 0;
     1754#endif
    17511755}
    17521756
    17531757static void smsc9218i_reset_signal_init(void)
    17541758{
     1759#ifdef SMSC9218I_RESET_PIN
    17551760  union SIU_PCR_tag pcr = MPC55XX_ZERO_FLAGS;
    17561761
     
    17701775
    17711776  SIU.PCR [SMSC9218I_RESET_PIN].R = pcr.R;
     1777#endif
    17721778}
    17731779
Note: See TracChangeset for help on using the changeset viewer.