!NET_MULTI cleanup part 2
Subsystems (2)
cover !NET_MULTI cleanup part 2
Looks like my previous tree checking missed !NET_MULTI drivers that didn't check in their code if NET_MULTI was not set. The build tests further missed things because none of these drivers actually get used. So clean up is fairly straight forward.
If, in the future, people need these drivers, it should be trivial for them to resurrect things from git.
Mike Frysinger (5):
net: enc28j60_lpc2292: drop unused !NET_MULTI driver
net: ns9750: drop !NET_MULTI driver
net: s3c4510b_eth: drop unused !NET_MULTI driver
net: sc589: drop unused !NET_MULTI driver
net: xilinx_enet: drop unused !NET_MULTI driver
board/xilinx/xilinx_enet/emac_adapter.c | 165 ---- board/xilinx/xilinx_enet/xemac.c | 844 ------------------ board/xilinx/xilinx_enet/xemac.h | 673 --------------- board/xilinx/xilinx_enet/xemac_g.c | 60 -- board/xilinx/xilinx_enet/xemac_i.h | 207 ----- board/xilinx/xilinx_enet/xemac_intr.c | 402 --------- board/xilinx/xilinx_enet/xemac_intr_dma.c | 1344 ----------------------------- board/xilinx/xilinx_enet/xemac_l.h | 462 ---------- board/xilinx/xilinx_enet/xemac_options.c | 318 ------- board/xilinx/xilinx_enet/xemac_polled.c | 482 ----------- drivers/net/3c589.c | 517 ----------- drivers/net/3c589.h | 435 ---------- drivers/net/Makefile | 4 - drivers/net/enc28j60_lpc2292.c | 983 --------------------- drivers/net/ns9750_eth.c | 789 ----------------- drivers/net/s3c4510b_eth.c | 241 ------ drivers/net/s3c4510b_eth.h | 302 ------- include/configs/ns9750dev.h | 2 - include/ns9750_eth.h | 298 ------- 19 files changed, 0 insertions(+), 8528 deletions(-) delete mode 100644 board/xilinx/xilinx_enet/emac_adapter.c delete mode 100644 board/xilinx/xilinx_enet/xemac.c delete mode 100644 board/xilinx/xilinx_enet/xemac.h delete mode 100644 board/xilinx/xilinx_enet/xemac_g.c delete mode 100644 board/xilinx/xilinx_enet/xemac_i.h delete mode 100644 board/xilinx/xilinx_enet/xemac_intr.c delete mode 100644 board/xilinx/xilinx_enet/xemac_intr_dma.c delete mode 100644 board/xilinx/xilinx_enet/xemac_l.h delete mode 100644 board/xilinx/xilinx_enet/xemac_options.c delete mode 100644 board/xilinx/xilinx_enet/xemac_polled.c delete mode 100644 drivers/net/3c589.c delete mode 100644 drivers/net/3c589.h delete mode 100644 drivers/net/enc28j60_lpc2292.c delete mode 100644 drivers/net/ns9750_eth.c delete mode 100644 drivers/net/s3c4510b_eth.c delete mode 100644 drivers/net/s3c4510b_eth.h delete mode 100644 include/ns9750_eth.h
Signature · 1 line
1.7.6.1
PATCH 1/5 net: enc28j60_lpc2292: drop unused !NET_MULTI driver
Everyone seems to have converted to the new enc28j60 driver, so drop this older one which isn't used and doesn't support NET_MULTI.
--- drivers/net/Makefile | 1 - drivers/net/enc28j60_lpc2292.c | 983 ---------------------------------------- 2 files changed, 0 insertions(+), 984 deletions(-) delete mode 100644 drivers/net/enc28j60_lpc2292.c
drivers/net/Makefile +0 -1
@@ -40,7 +40,6 @@ COBJS-$(CONFIG_DNET) += dnet.o COBJS-$(CONFIG_E1000) += e1000.o COBJS-$(CONFIG_EEPRO100) += eepro100.o COBJS-$(CONFIG_ENC28J60) += enc28j60.o -COBJS-$(CONFIG_ENC28J60_LPC2292) += enc28j60_lpc2292.o COBJS-$(CONFIG_EP93XX) += ep93xx_eth.o COBJS-$(CONFIG_ETHOC) += ethoc.o COBJS-$(CONFIG_FEC_MXC) += fec_mxc.o
drivers/net/enc28j60_lpc2292.c deleted +0 -0
Signature · 1 line
1.7.6.1
Wolfgang Denk
AppliedPATCH 1/5 net: enc28j60_lpc2292: drop unused !NET_MULTI driver
Dear Mike Frysinger,
Quoted 9 lines · In message <[email protected]> you wrote:
Everyone seems to have converted to the new enc28j60 driver, so drop this older one which isn't used and doesn't support
NET_MULTI.Signed-off-by Mike Frysinger <[email protected]>--- drivers/net/Makefile | 1 - drivers/net/enc28j60_lpc2292.c | 983 ---------------------------------------- 2 files changed, 0 insertions(+), 984 deletions(-) delete mode 100644 drivers/net/enc28j60_lpc2292.c
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
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: wd at denx.de As a general rule, the freedom of any people can be judged by the volume of their laughter.
PATCH 2/5 net: ns9750: drop !NET_MULTI driver
In reply to Mike FrysingerOnly 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.
--- 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
drivers/net/Makefile +0 -1
@@ -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
drivers/net/ns9750_eth.c deleted +0 -0
include/configs/ns9750dev.h +0 -2
@@ -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
include/ns9750_eth.h deleted +0 -0
Signature · 1 line
1.7.6.1
Wolfgang Denk
AppliedPATCH 2/5 net: ns9750: drop !NET_MULTI driver
Dear Mike Frysinger,
Quoted 5 lines · In message <[email protected]> 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 <[email protected]>
Quoted 8 lines
--- 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
Signature · 5 lines
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: wd at denx.de I'm frequently appalled by the low regard you Earthmen have for life. -- Spock, "The Galileo Seven", stardate 2822.3
PATCH 3/5 net: s3c4510b_eth: drop unused !NET_MULTI driver
In reply to Mike FrysingerNo boards appear to use this driver, and it doesn't support NET_MULTI, so punt the old driver.
--- drivers/net/Makefile | 1 - drivers/net/s3c4510b_eth.c | 241 ----------------------------------- drivers/net/s3c4510b_eth.h | 302 -------------------------------------------- 3 files changed, 0 insertions(+), 544 deletions(-) delete mode 100644 drivers/net/s3c4510b_eth.c delete mode 100644 drivers/net/s3c4510b_eth.h
drivers/net/Makefile +0 -1
@@ -65,7 +65,6 @@ COBJS-$(CONFIG_PCNET) += pcnet.o COBJS-$(CONFIG_PLB2800_ETHER) += plb2800_eth.o COBJS-$(CONFIG_RTL8139) += rtl8139.o COBJS-$(CONFIG_RTL8169) += rtl8169.o -COBJS-$(CONFIG_DRIVER_S3C4510_ETH) += s3c4510b_eth.o COBJS-$(CONFIG_SH_ETHER) += sh_eth.o COBJS-$(CONFIG_SMC91111) += smc91111.o COBJS-$(CONFIG_SMC911X) += smc911x.o
drivers/net/s3c4510b_eth.c deleted +0 -0
drivers/net/s3c4510b_eth.h deleted +0 -0
Signature · 1 line
1.7.6.1
Wolfgang Denk
AppliedPATCH 3/5 net: s3c4510b_eth: drop unused !NET_MULTI driver
Dear Mike Frysinger,
Quoted 11 lines · In message <[email protected]> you wrote:
No boards appear to use this driver, and it doesn't support
NET_MULTI, so punt the old driver.Signed-off-by Mike Frysinger <[email protected]>--- drivers/net/Makefile | 1 - drivers/net/s3c4510b_eth.c | 241 ----------------------------------- drivers/net/s3c4510b_eth.h | 302 -------------------------------------------- 3 files changed, 0 insertions(+), 544 deletions(-) delete mode 100644 drivers/net/s3c4510b_eth.c delete mode 100644 drivers/net/s3c4510b_eth.h
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
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: wd at denx.de
You see things; and you say ``Why?'' But I dream things that never
were; and I say ``Why not?''
- George Bernard Shaw _Back to Methuselah_ (1921) pt. 1, act 1PATCH 4/5 net: sc589: drop unused !NET_MULTI driver
In reply to Mike FrysingerNo boards appear to use this driver, and it doesn't support NET_MULTI, so punt the old driver.
--- drivers/net/3c589.c | 517 -------------------------------------------------- drivers/net/3c589.h | 435 ------------------------------------------ drivers/net/Makefile | 1 - 3 files changed, 0 insertions(+), 953 deletions(-) delete mode 100644 drivers/net/3c589.c delete mode 100644 drivers/net/3c589.h
drivers/net/3c589.c deleted +0 -0
drivers/net/3c589.h deleted +0 -0
drivers/net/Makefile +0 -1
@@ -25,7 +25,6 @@ include $(TOPDIR)/config.mk LIB := $(obj)libnet.o -COBJS-$(CONFIG_DRIVER_3C589) += 3c589.o COBJS-$(CONFIG_PPC4xx_EMAC) += 4xx_enet.o COBJS-$(CONFIG_ALTERA_TSE) += altera_tse.o COBJS-$(CONFIG_ARMADA100_FEC) += armada100_fec.o
Signature · 1 line
1.7.6.1
Wolfgang Denk
AppliedPATCH 4/5 net: sc589: drop unused !NET_MULTI driver
Dear Mike Frysinger,
Quoted 11 lines · In message <[email protected]> you wrote:
No boards appear to use this driver, and it doesn't support
NET_MULTI, so punt the old driver.Signed-off-by Mike Frysinger <[email protected]>--- drivers/net/3c589.c | 517 -------------------------------------------------- drivers/net/3c589.h | 435 ------------------------------------------ drivers/net/Makefile | 1 - 3 files changed, 0 insertions(+), 953 deletions(-) delete mode 100644 drivers/net/3c589.c delete mode 100644 drivers/net/3c589.h
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
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: wd at denx.de Any technology distinguishable from magic is insufficiently advanced.
PATCH 5/5 net: xilinx_enet: drop unused !NET_MULTI driver
In reply to Mike FrysingerThis driver doesn't support the NET_MULTI framework, and I can't find any boards/configs/files that reference this subdir, so punt it all.
--- board/xilinx/xilinx_enet/emac_adapter.c | 165 ---- board/xilinx/xilinx_enet/xemac.c | 844 ------------------ board/xilinx/xilinx_enet/xemac.h | 673 --------------- board/xilinx/xilinx_enet/xemac_g.c | 60 -- board/xilinx/xilinx_enet/xemac_i.h | 207 ----- board/xilinx/xilinx_enet/xemac_intr.c | 402 --------- board/xilinx/xilinx_enet/xemac_intr_dma.c | 1344 ----------------------------- board/xilinx/xilinx_enet/xemac_l.h | 462 ---------- board/xilinx/xilinx_enet/xemac_options.c | 318 ------- board/xilinx/xilinx_enet/xemac_polled.c | 482 ----------- 10 files changed, 0 insertions(+), 4957 deletions(-) delete mode 100644 board/xilinx/xilinx_enet/emac_adapter.c delete mode 100644 board/xilinx/xilinx_enet/xemac.c delete mode 100644 board/xilinx/xilinx_enet/xemac.h delete mode 100644 board/xilinx/xilinx_enet/xemac_g.c delete mode 100644 board/xilinx/xilinx_enet/xemac_i.h delete mode 100644 board/xilinx/xilinx_enet/xemac_intr.c delete mode 100644 board/xilinx/xilinx_enet/xemac_intr_dma.c delete mode 100644 board/xilinx/xilinx_enet/xemac_l.h delete mode 100644 board/xilinx/xilinx_enet/xemac_options.c delete mode 100644 board/xilinx/xilinx_enet/xemac_polled.c
board/xilinx/xilinx_enet/emac_adapter.c deleted +0 -0
board/xilinx/xilinx_enet/xemac.c deleted +0 -0
board/xilinx/xilinx_enet/xemac.h deleted +0 -0
board/xilinx/xilinx_enet/xemac_g.c deleted +0 -0
board/xilinx/xilinx_enet/xemac_i.h deleted +0 -0
board/xilinx/xilinx_enet/xemac_intr.c deleted +0 -0
board/xilinx/xilinx_enet/xemac_intr_dma.c deleted +0 -0
board/xilinx/xilinx_enet/xemac_l.h deleted +0 -0
board/xilinx/xilinx_enet/xemac_options.c deleted +0 -0
board/xilinx/xilinx_enet/xemac_polled.c deleted +0 -0
Signature · 1 line
1.7.6.1
PATCH 5/5 net: xilinx_enet: drop unused !NET_MULTI driver
Hi Mike,
Quoted 2 lines · Mike Frysinger
This driver doesn't support the
NET_MULTIframework, and I can't find any boards/configs/files that reference this subdir, so punt it all.
Would it be worth trying to cc the author?
Regards,
Simon
Quoted 63 lines
Signed-off-by Mike Frysinger <[email protected]>---
?board/xilinx/xilinx_enet/emac_adapter.c ? | ?165 ---- ?board/xilinx/xilinx_enet/xemac.c ? ? ? ? ?| ?844 ------------------ ?board/xilinx/xilinx_enet/xemac.h ? ? ? ? ?| ?673 --------------- ?board/xilinx/xilinx_enet/xemac_g.c ? ? ? ?| ? 60 -- ?board/xilinx/xilinx_enet/xemac_i.h ? ? ? ?| ?207 ----- ?board/xilinx/xilinx_enet/xemac_intr.c ? ? | ?402 --------- ?board/xilinx/xilinx_enet/xemac_intr_dma.c | 1344 ----------------------------- ?board/xilinx/xilinx_enet/xemac_l.h ? ? ? ?| ?462 ---------- ?board/xilinx/xilinx_enet/xemac_options.c ?| ?318 ------- ?board/xilinx/xilinx_enet/xemac_polled.c ? | ?482 -----------?10 files changed, 0 insertions(+), 4957 deletions(-) ?delete mode 100644
board/xilinx/xilinx_enet/emac_adapter.c?delete mode 100644board/xilinx/xilinx_enet/xemac.c?delete mode 100644board/xilinx/xilinx_enet/xemac.h?delete mode 100644board/xilinx/xilinx_enet/xemac_g.c?delete mode 100644board/xilinx/xilinx_enet/xemac_i.h?delete mode 100644board/xilinx/xilinx_enet/xemac_intr.c?delete mode 100644board/xilinx/xilinx_enet/xemac_intr_dma.c?delete mode 100644board/xilinx/xilinx_enet/xemac_l.h?delete mode 100644board/xilinx/xilinx_enet/xemac_options.c?delete mode 100644board/xilinx/xilinx_enet/xemac_polled.cboard/xilinx/xilinx_enet/emac_adapter.c deleted +0
-0board/xilinx/xilinx_enet/xemac.c deleted +0
-0board/xilinx/xilinx_enet/xemac.h deleted +0
-0board/xilinx/xilinx_enet/xemac_g.c deleted +0
-0board/xilinx/xilinx_enet/xemac_i.h deleted +0
-0board/xilinx/xilinx_enet/xemac_intr.c deleted +0
-0board/xilinx/xilinx_enet/xemac_intr_dma.c deleted +0
-0board/xilinx/xilinx_enet/xemac_l.h deleted +0
-0board/xilinx/xilinx_enet/xemac_options.c deleted +0
-0board/xilinx/xilinx_enet/xemac_polled.c deleted +0
-1--1.7.6.1
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
PATCH 5/5 net: xilinx_enet: drop unused !NET_MULTI driver
Quoted 5 lines · On Sunday 16 October 2011 17:44:46 Simon Glass wrote:
Quoted 2 lines · Mike Frysinger
This driver doesn't support the
NET_MULTIframework, and I can't find any boards/configs/files that reference this subdir, so punt it all.Would it be worth trying to cc the author?
certainly, if the author was clear. the history of this tree dates back to pre-git days, and everything since has largely been tree-wide tweaks rather than driver-specific updates. i'll just shotgun some random people you might have a passing interest.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111016/6d0a05e3/attachment.pgp
Wolfgang Denk
AppliedPATCH 5/5 net: xilinx_enet: drop unused !NET_MULTI driver
In reply to Mike FrysingerDear Mike Frysinger,
Quoted 18 lines · In message <[email protected]> you wrote:
This driver doesn't support the
NET_MULTIframework, and I can't find any boards/configs/files that reference this subdir, so punt it all.Signed-off-by Mike Frysinger <[email protected]>--- board/xilinx/xilinx_enet/emac_adapter.c | 165 ---- board/xilinx/xilinx_enet/xemac.c | 844 ------------------ board/xilinx/xilinx_enet/xemac.h | 673 --------------- board/xilinx/xilinx_enet/xemac_g.c | 60 -- board/xilinx/xilinx_enet/xemac_i.h | 207 ----- board/xilinx/xilinx_enet/xemac_intr.c | 402 --------- board/xilinx/xilinx_enet/xemac_intr_dma.c | 1344 ----------------------------- board/xilinx/xilinx_enet/xemac_l.h | 462 ---------- board/xilinx/xilinx_enet/xemac_options.c | 318 ------- board/xilinx/xilinx_enet/xemac_polled.c | 482 ----------- 10 files changed, 0 insertions(+), 4957 deletions(-) delete mode 100644 board/xilinx/xilinx_enet/emac_adapter.c delete mode 100644 board/xilinx/xilinx_enet/xemac.c
Quoted 8 lines
delete mode 100644 board/xilinx/xilinx_enet/xemac.h delete mode 100644 board/xilinx/xilinx_enet/xemac_g.c delete mode 100644 board/xilinx/xilinx_enet/xemac_i.h delete mode 100644 board/xilinx/xilinx_enet/xemac_intr.c delete mode 100644 board/xilinx/xilinx_enet/xemac_intr_dma.c delete mode 100644 board/xilinx/xilinx_enet/xemac_l.h delete mode 100644 board/xilinx/xilinx_enet/xemac_options.c delete mode 100644 board/xilinx/xilinx_enet/xemac_polled.c
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
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: wd at denx.de
Man is the best computer we can put aboard a spacecraft ... and the
only one that can be mass produced with unskilled labor.
- Wernher von Braun