[U-Boot] [PATCH 2/5] net: ns9750: drop !NET_MULTI driver

2011-10-16 Thread Mike Frysinger
Only one board uses this driver (ns9750dev), but the board doesn't seem
to have an entry to actually build it in the Makefile/boards.cfg, so just
delete net support from its board config.

Signed-off-by: Mike Frysinger 
---
 drivers/net/Makefile|1 -
 drivers/net/ns9750_eth.c|  789 ---
 include/configs/ns9750dev.h |2 -
 include/ns9750_eth.h|  298 
 4 files changed, 0 insertions(+), 1090 deletions(-)
 delete mode 100644 drivers/net/ns9750_eth.c
 delete mode 100644 include/ns9750_eth.h

diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index a00c3ba..c885920 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -61,7 +61,6 @@ COBJS-$(CONFIG_DRIVER_AX88796L) += ax88796.o ne2000_base.o
 COBJS-$(CONFIG_DRIVER_NETARMETH) += netarm_eth.o
 COBJS-$(CONFIG_NETCONSOLE) += netconsole.o
 COBJS-$(CONFIG_NS8382X) += ns8382x.o
-COBJS-$(CONFIG_DRIVER_NS9750_ETHERNET) += ns9750_eth.o
 COBJS-$(CONFIG_PCNET) += pcnet.o
 COBJS-$(CONFIG_PLB2800_ETHER) += plb2800_eth.o
 COBJS-$(CONFIG_RTL8139) += rtl8139.o
diff --git a/drivers/net/ns9750_eth.c b/drivers/net/ns9750_eth.c
deleted file mode 100644
index 9899563..000
diff --git a/include/configs/ns9750dev.h b/include/configs/ns9750dev.h
index 8ecd2a9..c495423 100644
--- a/include/configs/ns9750dev.h
+++ b/include/configs/ns9750dev.h
@@ -55,7 +55,6 @@
  * Hardware drivers
  */
 #define CONFIG_NS9750_UART 1   /* use on-chip UART */
-#define CONFIG_DRIVER_NS9750_ETHERNET  1   /* use on-chip ethernet */
 
 /*
  * select serial console configuration
@@ -86,7 +85,6 @@
 #define CONFIG_CMD_LOADB
 #define CONFIG_CMD_LOADS
 #define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
 #define CONFIG_CMD_PING
 
 
diff --git a/include/ns9750_eth.h b/include/ns9750_eth.h
deleted file mode 100644
index 80c721b..000
-- 
1.7.6.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 2/5] net: ns9750: drop !NET_MULTI driver

2011-10-23 Thread Wolfgang Denk
Dear Mike Frysinger,

In message <1318795453-18090-3-git-send-email-vap...@gentoo.org> you wrote:
> Only one board uses this driver (ns9750dev), but the board doesn't seem
> to have an entry to actually build it in the Makefile/boards.cfg, so just
> delete net support from its board config.
> 
> Signed-off-by: Mike Frysinger 
> ---
>  drivers/net/Makefile|1 -
>  drivers/net/ns9750_eth.c|  789 
> ---
>  include/configs/ns9750dev.h |2 -
>  include/ns9750_eth.h|  298 
>  4 files changed, 0 insertions(+), 1090 deletions(-)
>  delete mode 100644 drivers/net/ns9750_eth.c
>  delete mode 100644 include/ns9750_eth.h

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
I'm frequently appalled by the low regard you Earthmen have for life.
-- Spock, "The Galileo Seven", stardate 2822.3
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot