From: Olof Johansson Date: Sat, 15 Sep 2007 20:44:07 +0000 (-0700) Subject: pasemi_mac: Stop using the pci config space accessors for register read/writes X-Git-Tag: v2.6.24-rc1~1454^2~516 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6e05a1b67a4b2e122d78a3f0b7ec7c779bd903c;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- Reading git-diff-tree failed