summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence/at91_ether.h
diff options
context:
space:
mode:
authorAndrew Victor <avictor.za@gmail.com>2012-04-26 02:30:42 +0200
committerDavid S. Miller <davem@davemloft.net>2012-04-29 03:48:37 +0200
commitc5f0f83c3be4c965c40c78d52000db30c0ceab5d (patch)
tree0e3dbeef02ae0b78325ca1da997ee3507255110e /drivers/net/ethernet/cadence/at91_ether.h
parentnet: Fixed a coding style issue related to spaces. (diff)
downloadlinux-c5f0f83c3be4c965c40c78d52000db30c0ceab5d.tar.xz
linux-c5f0f83c3be4c965c40c78d52000db30c0ceab5d.zip
AT91: Remove fixed mapping for AT91RM9200 ethernet
The AT91RM9200 Ethernet controller still has a fixed IO mapping. So: * Remove the fixed IO mapping and AT91_VA_BASE_EMAC definition. * Pass the physical base-address via platform-resources to the driver. * Convert at91_ether.c driver to perform an ioremap(). * Ethernet PHY detection needs to be performed during the driver initialization process, it can no longer be done first. Signed-off-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/at91_ether.h')
-rw-r--r--drivers/net/ethernet/cadence/at91_ether.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/at91_ether.h b/drivers/net/ethernet/cadence/at91_ether.h
index 3725fbb0defe..0ef6328fa7f8 100644
--- a/drivers/net/ethernet/cadence/at91_ether.h
+++ b/drivers/net/ethernet/cadence/at91_ether.h
@@ -88,6 +88,7 @@ struct at91_private
struct macb_platform_data board_data; /* board-specific
* configuration (shared with
* macb for common data */
+ void __iomem *emac_base; /* base register address */
struct clk *ether_clk; /* clock */
/* PHY */