LEON SPARC V8 processor support for linux-2.6.10
PATCH 6/7 LEON SPARC V8 processor support for linux-2.6.10
Leon2 serial+ethermac driver:
[6/7] diff2.6.10_driver_net.diff: diff for drivers/net
drivers/net/Kconfig renamed from linux-2.6.10/drivers/net/Kconfig +8 -0
@@ -526,6 +526,14 @@ To compile this driver as a module, choose M here: the module will be called sunlance. +config OPEN_ETH + tristate "Leon's OpenCore ethermac core driver" + depends on NET_ETHERNET && LEON + help + This driver supports the www.opencores.org ethermac core in the + Leon-xst distribution from www.gaisler.com. Note: for Leon3 use + the Grlib ethermac driver. + config HAPPYMEAL tristate "Sun Happy Meal 10/100baseT support" depends on NET_ETHERNET && (SBUS || PCI)
drivers/net/Makefile renamed from linux-2.6.10/drivers/net/Makefile +1 -0
@@ -27,6 +27,7 @@ obj-$(CONFIG_SUNBMAC) += sunbmac.o obj-$(CONFIG_MYRI_SBUS) += myri_sbus.o obj-$(CONFIG_SUNGEM) += sungem.o sungem_phy.o +obj-$(CONFIG_OPEN_ETH) += open_eth.o obj-$(CONFIG_MACE) += mace.o obj-$(CONFIG_BMAC) += bmac.o
drivers/net/Space.c renamed from linux-2.6.10/drivers/net/Space.c +9 -0
@@ -93,6 +93,7 @@extern struct net_device *mc32_probe (int unit);extern struct net_device *cops_probe (int unit);extern struct net_device *ltpc_probe (void ); +extern struct net_device *grlib_oeth_probe (int unit);/* Detachable devices ("pocket adaptors") */ extern struct net_device *de620_probe (int unit);
@@ -312,6 +313,13 @@ {NULL, 0}, }; +static struct devprobe2 sparc_probes[] __initdata = { +#ifdef CONFIG_GRLIB_OPENCORES_ETHERMAC + {grlib_oeth_probe, 0}, +#endif + {NULL, 0}, +}; + /* * Unified ethernet device probe, segmented per architecture and * per bus interface. This drives the legacy devices only for now.
@@ -326,6 +334,7 @@ (void)( probe_list2(unit, m68k_probes, base_addr == 0) && probe_list2(unit, mips_probes, base_addr == 0) && + probe_list2(unit, sparc_probes, base_addr == 0) && probe_list2(unit, eisa_probes, base_addr == 0) && probe_list2(unit, mca_probes, base_addr == 0) && probe_list2(unit, isa_probes, base_addr == 0) &&
drivers/net/open_eth.c renamed from linux-2.6.10/drivers/net/open_eth.c +986 -0
986 lines not on this page · raw message
drivers/net/open_eth.h renamed from linux-2.6.10/drivers/net/open_eth.h +143 -0
143 lines not on this page · raw message
Leon2 serial+ethermac driver, updated.
[6/7] diff2.6.10_driver_net.diff: diff for drivers/net
drivers/net/Kconfig renamed from linux-2.6.10/drivers/net/Kconfig +8 -0
@@ -526,6 +526,14 @@ To compile this driver as a module, choose M here: the module will be called sunlance. +config OPEN_ETH + tristate "Leon's OpenCore ethermac core driver" + depends on NET_ETHERNET && LEON + help + This driver supports the www.opencores.org ethermac core in the + Leon-xst distribution from www.gaisler.com. Note: for Leon3 use + the Grlib ethermac driver. + config HAPPYMEAL tristate "Sun Happy Meal 10/100baseT support" depends on NET_ETHERNET && (SBUS || PCI)
drivers/net/Makefile renamed from linux-2.6.10/drivers/net/Makefile +1 -0
@@ -27,6 +27,7 @@ obj-$(CONFIG_SUNBMAC) += sunbmac.o obj-$(CONFIG_MYRI_SBUS) += myri_sbus.o obj-$(CONFIG_SUNGEM) += sungem.o sungem_phy.o +obj-$(CONFIG_OPEN_ETH) += open_eth.o obj-$(CONFIG_MACE) += mace.o obj-$(CONFIG_BMAC) += bmac.o
drivers/net/open_eth.c renamed from linux-2.6.10/drivers/net/open_eth.c +986 -0
986 lines not on this page · raw message
drivers/net/open_eth.h renamed from linux-2.6.10/drivers/net/open_eth.h +143 -0
143 lines not on this page · raw message