Ethernet driver for EISA only SNI RM200/RM400 machines
Subsystems (2)
PATCH 1/1 Ethernet driver for EISA only SNI RM200/RM400 machines
Below is an updated patch with changes recommended/requested by Andrew
Thomas.
Ethernet driver for EISA only SNI RM200/RM400 machines
Signed-off-by Thomas Bogendoerfer <[email protected]>
---
drivers/net/Kconfig +7 -0
@@ -435,6 +435,13 @@ config LASI_82596 Say Y here to support the builtin Intel 82596 ethernet controller found in Hewlett-Packard PA-RISC machines with 10Mbit ethernet. +config SNI_82596 + tristate "SNI RM ethernet" + depends on NET_ETHERNET && SNI_RM + help + Say Y here to support the on-board Intel 82596 ethernet controller + built into SNI RM machines. + config MIPS_JAZZ_SONIC tristate "MIPS JAZZ onboard SONIC Ethernet support" depends on NET_ETHERNET && MACH_JAZZ
drivers/net/Makefile +1 -0
@@ -161,6 +161,7 @@ obj-$(CONFIG_ELPLUS) += 3c505.o obj-$(CONFIG_AC3200) += ac3200.o 8390.o obj-$(CONFIG_APRICOT) += 82596.o obj-$(CONFIG_LASI_82596) += lasi_82596.o +obj-$(CONFIG_SNI_82596) += sni_82596.o obj-$(CONFIG_MVME16x_NET) += 82596.o obj-$(CONFIG_BVME6000_NET) += 82596.o obj-$(CONFIG_SC92031) += sc92031.o
drivers/net/sni_82596.c new file +198 -0
198 lines not on this page · raw message
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a good idea. [ RFC1925, 2.3 ]
Thomas Bogendoerfer <[email protected]> :
[...]
Quoted 5 lines
drivers/net/sni_82596.c new file +0
-0
[...]
Quoted 2 lines
drivers/net/sni_82596.c new file +2
-0+static int __devinit sni_82596_probe (struct platform_device *dev) +{
[...]
drivers/net/sni_82596.c line 157
Quoted 8 lines
drivers/net/sni_82596.c new file +8
-0+if (retval) { +free_netdev (netdevice); +probe_failed: +if (mpu_addr) +iounmap (mpu_addr); +if (ca_addr) +iounmap (ca_addr); +if (eth_addr)
^^^
drivers/net/sni_82596.c
Quoted 1 line
drivers/net/sni_82596.c new file +1
-0+iounmap (ca_addr);
^^
-> typo
Please use plain goto with proper labels and remove the tests.
Signature · 1 line
Ueimor