summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-14 13:08:10 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-18 11:22:19 +0100
commit2cd48da071950ad73baa3802200449c17b6a0893 (patch)
treea4f5a19a6aef4413800c97dec317b729b3988ecc /c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h
parentbsps/arm: Prepare for interface down support (diff)
downloadrtems-2cd48da071950ad73baa3802200449c17b6a0893.tar.bz2
bsps/arm: Add interface down support
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h')
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h b/c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h
index 8c787b75da..26482bfcda 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h
+++ b/c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h
@@ -92,6 +92,11 @@ extern "C" {
}
#endif
+static void lpc_eth_config_module_disable(void)
+{
+ lpc24xx_module_disable(LPC24XX_MODULE_ETHERNET);
+}
+
static char *lpc_eth_config_alloc_table_area(size_t size)
{
if (size < LPC24XX_ETH_RAM_SIZE) {