Add non-Virtex5 support for LL TEMAC driver
authorJohn Linn <john.linn@xilinx.com>
Thu, 8 Apr 2010 07:08:02 +0000 (07:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 08:33:44 +0000 (01:33 -0700)
commite44171f115de3dedf34064646206deb91549865f
tree94e7be7a6f9bbc6341a6915a12744ed451dcb75f
parent33646d7ff5f47225cbbf3a06597ded649bf34e8d
Add non-Virtex5 support for LL TEMAC driver

This patch adds support for using the LL TEMAC Ethernet driver on
non-Virtex 5 platforms by adding support for accessing the Soft DMA
registers as if they were memory mapped instead of solely through the
DCR's (available on the Virtex 5).

The patch also updates the driver so that it runs on the MicroBlaze.
The changes were tested on the PowerPC 440, PowerPC 405, and the
MicroBlaze platforms.

Signed-off-by: John Tyner <jtyner@cs.ucr.edu>
Signed-off-by: John Linn <john.linn@xilinx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/microblaze/include/asm/system.h
drivers/net/Kconfig
drivers/net/ll_temac.h
drivers/net/ll_temac_main.c