]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pasemi_mac: Stop using the pci config space accessors for register read/writes
authorOlof Johansson <olof@lixom.net>
Sat, 15 Sep 2007 20:44:07 +0000 (13:44 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:50:55 +0000 (16:50 -0700)
commitb6e05a1b67a4b2e122d78a3f0b7ec7c779bd903c
tree51b9aa288c8fdd0d32de1d11365ef31b7558ae4c
parenta85b94222d8b95e184941183f28b06b637cc4dee
pasemi_mac: Stop using the pci config space accessors for register read/writes

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.

[ Resolved napi_struct conflicts... -DaveM ]

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pasemi_mac.c
drivers/net/pasemi_mac.h