diff options
author | Peter Dufault <dufault@hda.com> | 2012-10-01 15:12:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-10-02 15:27:34 +0200 |
commit | 967481a09a2bc244ca1031f98eb4c44814aa3dc8 (patch) | |
tree | 29f153fbaf788267f1f964847c4b86c05df6cf79 /c/src/libchip/network/smc91111.c | |
parent | bsp/mpc55xx: Fix bsp_idle_thread() (diff) | |
download | rtems-967481a09a2bc244ca1031f98eb4c44814aa3dc8.tar.bz2 |
bsps: PR2076: SMC91111 fixes for mpc55xxevb BSP
- A typo prevents if_smc.c from being built when configured;
- The argument passed to the interrupt handler was incorrect and the
addition of support for RTEMS_INTERRUPT_SHARED exposed it;
- A "#ifdef DEBUG" is supposed to be "#if DEBUG" since 0 is supposed to
make it quiet.
Diffstat (limited to '')
-rw-r--r-- | c/src/libchip/network/smc91111.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/libchip/network/smc91111.c b/c/src/libchip/network/smc91111.c index 1216ba6197..3e87935e8f 100644 --- a/c/src/libchip/network/smc91111.c +++ b/c/src/libchip/network/smc91111.c @@ -962,7 +962,7 @@ int _rtems_smc91111_driver_attach (struct rtems_bsdnet_ifconfig *config, if_attach(ifp); ether_ifattach(ifp); -#ifdef DEBUG +#if DEBUG printf("SMC91111 : driver has been attached\n"); #endif @@ -1035,7 +1035,7 @@ int lan91cxx_hardware_init(struct lan91cxx_priv_data *cpd) cpd->config.info, cpd->config.options, cpd->config.interrupt_wrapper, - cpd->config.arg + cpd ); if (sc != RTEMS_SUCCESSFUL) { printf("rtems_interrupt_handler_install returned %d.\n", sc); |