]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
AT91: Remove fixed mapping for AT91RM9200 ethernet
authorAndrew Victor <avictor.za@gmail.com>
Thu, 26 Apr 2012 00:30:42 +0000 (00:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Apr 2012 01:48:37 +0000 (21:48 -0400)
commitc5f0f83c3be4c965c40c78d52000db30c0ceab5d
tree0e3dbeef02ae0b78325ca1da997ee3507255110e
parentcb75a36c8a1ab68e2dbfbe172f12c792b0c6dba8
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>
arch/arm/mach-at91/at91rm9200.c
arch/arm/mach-at91/at91rm9200_devices.c
arch/arm/mach-at91/include/mach/hardware.h
drivers/net/ethernet/cadence/at91_ether.c
drivers/net/ethernet/cadence/at91_ether.h