[PATCH v2] [02/10] pasemi_mac: Stop using the pci config space accessors for register read/writes

Jeff Garzik jgarzik at pobox.com
Fri Aug 31 23:54:23 EST 2007


Olof Johansson wrote:
> Move away from using the pci config access functions for simple register
> access.  Our device has all of the registers in the config space (hey,
> from the hardware point of view it looks reasonable :-), so we need to
> somehow get to it. Newer firmwares have it in the device tree such that
> we can just get it and ioremap it there (in case it ever moves in future
> products). For now, provide a hardcoded fallback for older firmwares.
> 
> 
> Signed-off-by: Olof Johansson <olof at lixom.net>

applied 2-10





More information about the Linuxppc-dev mailing list