Skip to contentSkip to conversation

SMSC LAN911x and LAN921x vendor driver

PATCH In review Steve Glendinning 2 participants 2 messages Dec 30, 2006 – Jan 4, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SMSC LAN911x and LAN921x vendor driver

Attached is a driver for SMSC's LAN911x and LAN921x families of embedded ethernet controllers. There is an existing smc911x driver in the tree; this is intended to replace it.

This driver contains workarounds for all known hardware issues, and has been tested on all flavours of the chip on multiple architectures.

Dustin McIntire (the author of the smc911x driver) has expressed his support for switching to this driver.

---
 drivers/net/Kconfig    |   13 +
 drivers/net/Makefile   |    1 +
 drivers/net/smsc911x.c | 2095 ++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/smsc911x.h |  417 ++++++++++
 4 files changed, 2526 insertions(+), 0 deletions(-)
drivers/net/Kconfig +13 -0
index 8aa8dd0..45a5ed6 100644
@@ -873,6 +873,19 @@ config NET_NETX
 	  <file:Documentation/networking/net-modules.txt>. The module
 	  will be called netx-eth.
 
+config SMSC911X
+	tristate "SMSC LAN911x/LAN921x families embedded ethernet support"
+	depends on NET_ETHERNET
+	select CRC32
+	select MII
+	---help---
+	  Say Y here if you want support for SMSC LAN911x and LAN921x families
+	  of ethernet controllers.
+
+	  To compile this driver as a module, choose M here and read
+	  <file:Documentation/networking/net-modules.txt>. The module
+	  will be called smsc911x.
+
 config DM9000
 	tristate "DM9000 support"
 	depends on (ARM || MIPS) && NET_ETHERNET
drivers/net/Makefile +1 -0
index 4c0d4e5..0b65c85 100644
@@ -194,6 +194,7 @@ obj-$(CONFIG_S2IO) += s2io.o
 obj-$(CONFIG_MYRI10GE) += myri10ge/
 obj-$(CONFIG_SMC91X) += smc91x.o
 obj-$(CONFIG_SMC911X) += smc911x.o
+obj-$(CONFIG_SMSC911X) += smsc911x.o
 obj-$(CONFIG_DM9000) += dm9000.o
 obj-$(CONFIG_FEC_8XX) += fec_8xx/
 
drivers/net/smsc911x.c new file +2095 -0

2,095 lines not on this page · raw message

drivers/net/smsc911x.h new file +417 -0

417 lines not on this page · raw message

Signature · 1 line
1.4.4.2
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Steve Glendinning

Attached is a driver for SMSC's LAN911x and LAN921x families of embedded ethernet controllers. There is an existing smc911x driver in the tree; this is intended to replace it.

Quoted 8 lines

This driver contains workarounds for all known hardware issues, and has been tested on all flavours of the chip on multiple architectures.

Dustin McIntire (the author of the smc911x driver) has expressed his support for switching to this driver.

This patch has just been tested on my Freescale mx31 board, with a smsc9117, and Linux version 2.6.16.19. I agree to include it in mainstream.
old smc911x is restricted to one architecture (PXA) and one chip (9118).

Signature · 1 line
Pierre Tardy