PCI Quirk: 1k I/O space IOBL_ADR fix on P64H2
authorDaniel Yeisley <dan.yeisley@unisys.com>
Thu, 21 Dec 2006 19:34:57 +0000 (14:34 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:50:05 +0000 (15:50 -0800)
commit15a260d53f7ca026e45109d2c2bec8c4b087780b
tree6db2fde4b3c8589f94f532e09f4e105c703b7606
parent9f593e30b318719b0e3889c730cc3a2d0729a707
PCI Quirk: 1k I/O space IOBL_ADR fix on P64H2

There's an existing quirk for the kernel to use 1k IO space granularity
on the Intel P64H2.  It turns out however that pci_setup_bridge() in
drivers/pci/setup-bus.c reads in the IO base and limit address register
masks it off to the nearest 4k, and writes it back.  This causes the
kernel to be on 1k boundaries and the hardware to be 4k aligned.  The
patch below fixes the problem.

Signed-off-by: Dan Yeisley <dan.yeisley@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c