From 721dc008e8b05cc80b031fa3430c7d9aa6572c97 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 27 Jun 2014 09:30:41 -0600 Subject: [PATCH] Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo --- examples/Makefile | 1 - system/Kconfig | 4 ++++ system/Make.defs | 4 ++++ system/Makefile | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index 547e3004a..a4bca7dfe 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -86,4 +86,3 @@ clean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_clean) distclean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_distclean) -include Make.dep - diff --git a/system/Kconfig b/system/Kconfig index 382ef3476..ed16af860 100644 --- a/system/Kconfig +++ b/system/Kconfig @@ -47,6 +47,10 @@ menu "P-Code Support" source "$APPSDIR/system/prun/Kconfig" endmenu +menu "PHY Tool" +source "$APPSDIR/system/mdio/Kconfig" +endmenu + menu "Power Off" source "$APPSDIR/system/poweroff/Kconfig" endmenu diff --git a/system/Make.defs b/system/Make.defs index 44c584252..bdfde4503 100644 --- a/system/Make.defs +++ b/system/Make.defs @@ -74,6 +74,10 @@ ifeq ($(CONFIG_SYSTEM_PRUN),y) CONFIGURED_APPS += system/prun endif +ifeq ($(CONFIG_SYSTEM_MDIO),y) +CONFIGURED_APPS += system/mdio +endif + ifeq ($(CONFIG_SYSTEM_RAMTEST),y) CONFIGURED_APPS += system/ramtest endif diff --git a/system/Makefile b/system/Makefile index c39cfae9f..ed7b64dff 100644 --- a/system/Makefile +++ b/system/Makefile @@ -40,6 +40,7 @@ SUBDIRS = cdcacm cle composite flash_eraseall free i2c hex2bin inifile SUBDIRS += install nxplayer poweroff ramtest ramtron readline sdcard SUBDIRS += stackmonitor sysinfo usbmonitor usbmsc vi zmodem +SUBDIRS += mdio # Create the list of installed runtime modules (INSTALLED_DIRS)