AT91: Remove fixed mapping for AT91RM9200 ethernet

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue May 10 23:49:01 EDT 2011


On 21:54 Sun 08 May     , Andrew Victor wrote:
> 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.
we need to pass the irq too as the hw ip does not belong to Atmel
so it can be attached to any irq

ca we split is in two file on for -net and the other one for at91 tree

Best Regards,
J.




More information about the linux-arm-kernel mailing list