kernel-ark/drivers/pci
Ivan Kokshaysky cf7bee5a0b [PATCH] Fix restore of 64-bit PCI BAR's
For 64-bit BAR[i] only pci_dev->resource[i] is valid, ->resource[i+1]
slot is unused and contains zeroes in all fields.

So when we update a PCI BAR, all we need is just to check that we're
going to update a _valid_ resource.

Also make sure to write high bits - use "x >> 16 >> 16" (rather than the
simpler ">> 32") to avoid warnings on 32-bit architectures where we're
not going to have any high bits.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-07 09:50:56 -07:00
..
hotplug
pcie
access.c
bus.c
gen-devlist.c
hotplug.c
Kconfig
Makefile
msi.c
msi.h
names.c
pci-acpi.c
pci-driver.c
pci-sysfs.c
pci.c
pci.h
pci.ids
probe.c
proc.c
quirks.c
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c [PATCH] Fix restore of 64-bit PCI BAR's 2005-08-07 09:50:56 -07:00
syscall.c