ce4100: Add PCI register emulation for CE4100
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Tue, 9 Nov 2010 20:08:05 +0000 (12:08 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Nov 2010 23:45:41 +0000 (00:45 +0100)
commit91d8037f563e4a86ff8b02c994530989c7936427
treeab831c0c58216294eeaa7867c60fd632ff5cb809
parentc751e17b5371ad86cdde6cf5c0175e06f3ff0347
ce4100: Add PCI register emulation for CE4100

This patch provides access methods for PCI registers that mis-behave on
the CE4100. Each register can be assigned a private init, read and
write routine. The exception to this is the bridge device. The
bridge device is the only device on bus zero (0) that requires any
fixup so it is a special case.

[ tglx: minor coding style cleanups, __init annotation and
   simplification of ce4100_conf_read/write ]

Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
LKML-Reference: <40b6751381c2275dc359db5a17989cce22ad8db7.1289331834.git.dirk.brandewie@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/pci/Makefile
arch/x86/pci/ce4100.c [new file with mode: 0644]