summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc32xx/include/lpc-ethernet-config.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-12-20 04:10:01 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-12-20 04:10:01 -0600
commit4e663ae7b5f896be300acf5c31d18d582ae44604 (patch)
tree4e7c41687150824dab00588c2f0c7ae4b8c5b1e4 /c/src/lib/libbsp/arm/lpc32xx/include/lpc-ethernet-config.h
parentMerge branch 'master' of ssh://git.rtems.org/data/git/rtems (diff)
parentlibfs: Doxygen Enhancement Task #1 (diff)
downloadrtems-4e663ae7b5f896be300acf5c31d18d582ae44604.tar.bz2
Merge branch 'master' of ssh://git.rtems.org/data/git/rtems
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc32xx/include/lpc-ethernet-config.h')
-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)