summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc32xx
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/lpc32xx
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/lpc32xx')
-rw-r--r--c/src/lib/libbsp/arm/lpc32xx/include/lpc-ethernet-config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/lpc32xx/include/lpc-ethernet-config.h b/c/src/lib/libbsp/arm/lpc32xx/include/lpc-ethernet-config.h
index 12dbd792f6..3dc1dc0f3c 100644
--- a/c/src/lib/libbsp/arm/lpc32xx/include/lpc-ethernet-config.h
+++ b/c/src/lib/libbsp/arm/lpc32xx/include/lpc-ethernet-config.h
@@ -71,6 +71,11 @@ extern "C" {
}
#endif
+static void lpc_eth_config_module_disable(void)
+{
+ LPC32XX_MAC_CLK_CTRL = 0;
+}
+
#define LPC_ETH_CONFIG_USE_TRANSMIT_DMA
static char *lpc_eth_config_alloc_table_area(size_t size)