]> git.baikalelectronics.ru Git - kernel.git/commit
net: add Xilinx ll_temac device driver
authorGrant Likely <grant.likely@secretlab.ca>
Sat, 25 Apr 2009 12:53:39 +0000 (12:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 09:53:52 +0000 (02:53 -0700)
commit7391458cef355fb16ca9473b5bafa9e606fb317b
tree348bffc9bc393031feed8a8ac86dccab9a8ce636
parentdb820fce7f3f7d5bf824fd13b05a9262e5b2df74
net: add Xilinx ll_temac device driver

This patch adds support for the Xilinx ll_temac 10/100/1000 Ethernet
device.  The ll_temac ipcore is typically used on Xilinx Virtex and
Spartan designs attached to either a PowerPC 4xx or Microblaze
processor.

At the present moment, this driver only works with Virtex5 PowerPC
designs because it assumes DCR is used to access the DMA registers.
However, the low level access to DMA registers is abstracted and
it should be easy to adapt for the other implementations.

I'm posting this driver now as an RFC.  There are still some things that
need to be tightened up, but it does appear to be stable.

Derived from driver code written by Yoshio Kashiwagi and David H. Lynch Jr.

Tested on Xilinx ML507 eval board with Base System Builder generated
FPGA design.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ll_temac.h [new file with mode: 0644]
drivers/net/ll_temac_main.c [new file with mode: 0644]
drivers/net/ll_temac_mdio.c [new file with mode: 0644]