net: add Xilinx emac lite device driver

This patch adds support for the Xilinx Ethernet Lite device.  The
soft logic core from Xilinx is typically used on Virtex and Spartan
designs attached to either a PowerPC or a Microblaze processor.

Signed-off-by: Sadanand M <sadanan@xilinx.com>
Signed-off-by: John Linn <john.linn@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
John Linn 2009-08-20 02:52:16 -07:00 committed by David S. Miller
parent 886f9fe683
commit bb81b2ddfa
3 changed files with 1048 additions and 0 deletions

View File

@ -1926,6 +1926,12 @@ config ATL2
To compile this driver as a module, choose M here. The module To compile this driver as a module, choose M here. The module
will be called atl2. will be called atl2.
config XILINX_EMACLITE
tristate "Xilinx 10/100 Ethernet Lite support"
depends on PPC32 || MICROBLAZE
help
This driver supports the 10/100 Ethernet Lite from Xilinx.
source "drivers/net/fs_enet/Kconfig" source "drivers/net/fs_enet/Kconfig"
endif # NET_ETHERNET endif # NET_ETHERNET

View File

@ -142,6 +142,7 @@ obj-$(CONFIG_TSI108_ETH) += tsi108_eth.o
obj-$(CONFIG_MV643XX_ETH) += mv643xx_eth.o obj-$(CONFIG_MV643XX_ETH) += mv643xx_eth.o
ll_temac-objs := ll_temac_main.o ll_temac_mdio.o ll_temac-objs := ll_temac_main.o ll_temac_mdio.o
obj-$(CONFIG_XILINX_LL_TEMAC) += ll_temac.o obj-$(CONFIG_XILINX_LL_TEMAC) += ll_temac.o
obj-$(CONFIG_XILINX_EMACLITE) += xilinx_emaclite.o
obj-$(CONFIG_QLA3XXX) += qla3xxx.o obj-$(CONFIG_QLA3XXX) += qla3xxx.o
obj-$(CONFIG_QLGE) += qlge/ obj-$(CONFIG_QLGE) += qlge/

1041
drivers/net/xilinx_emaclite.c Executable file

File diff suppressed because it is too large Load Diff