summaryrefslogtreecommitdiffstats
path: root/c/src/lib
diff options
context:
space:
mode:
authorDaniel Cederman <cederman@gaisler.com>2014-03-13 14:28:46 +0100
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-21 09:57:18 -0500
commit5130248e12a0d96c19d88444888c3fbcc93ee922 (patch)
tree75f0256a804845c5420b6141ae644a7c77bbb4cf /c/src/lib
parentno_bsp/shmsupp/lock.c: Remove rtems_bsp_delay() (diff)
downloadrtems-5130248e12a0d96c19d88444888c3fbcc93ee922.tar.bz2
smc91111: Move driver attach prototype to header file.
Also signal to compiler that the start variable in lan91cxx_recv is only used when debugging.
Diffstat (limited to 'c/src/lib')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/network/if_smc.c5
-rw-r--r--c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c5
-rw-r--r--c/src/lib/libbsp/sparc/leon3/leon_smc91111/leon_smc91111.c3
3 files changed, 0 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/network/if_smc.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/network/if_smc.c
index 026a56c6d3..995bf0b1b0 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/network/if_smc.c
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/network/if_smc.c
@@ -64,11 +64,6 @@ scmv91111_configuration_t mpc5554_scmv91111_configuration = {
(void *)0
};
-int _rtems_smc91111_driver_attach(
- struct rtems_bsdnet_ifconfig *config,
- scmv91111_configuration_t *scm_config
-);
-
/*
* Attach an SMC91111 driver to the system
*/
diff --git a/c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c b/c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c
index ad74c9a52b..abf1efc774 100644
--- a/c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c
+++ b/c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c
@@ -40,11 +40,6 @@ scmv91111_configuration_t leon_scmv91111_configuration = {
1 /* autoneg */
};
-int _rtems_smc91111_driver_attach(
- struct rtems_bsdnet_ifconfig *config,
- scmv91111_configuration_t *scm_config
-);
-
/*
* Attach an SMC91111 driver to the system
*/
diff --git a/c/src/lib/libbsp/sparc/leon3/leon_smc91111/leon_smc91111.c b/c/src/lib/libbsp/sparc/leon3/leon_smc91111/leon_smc91111.c
index 495d2eb8d0..5b903eb0ec 100644
--- a/c/src/lib/libbsp/sparc/leon3/leon_smc91111/leon_smc91111.c
+++ b/c/src/lib/libbsp/sparc/leon3/leon_smc91111/leon_smc91111.c
@@ -23,9 +23,6 @@ scmv91111_configuration_t leon_scmv91111_configuration = {
1 /* autoneg */
};
-int _rtems_smc91111_driver_attach (struct rtems_bsdnet_ifconfig *config,
- scmv91111_configuration_t * scm_config);
-
/*
* Attach an SMC91111 driver to the system
*/