[PATCH] ppc64: Fix PCI flags when using OF device tree
authorPaul Mackerras <paulus@samba.org>
Wed, 21 Sep 2005 04:14:22 +0000 (14:14 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 21 Sep 2005 16:15:34 +0000 (09:15 -0700)
commitd79e743e9fcf03f521300a970eb1ab69641910ba
tree9672cd40a47d1791d906c0c5d3990f7274a20ff9
parent2fe9f798ba3cf7c939e638b78f46975e79039978
[PATCH] ppc64: Fix PCI flags when using OF device tree

My code to set up the PCI tree from the Open Firmware device tree was
setting IORESOURCE_* flags on the resources for the devices, but not
the PCI_BASE_ADDRESS_* flags.  This meant that some drivers
misbehaved, and /proc/pci showed the wrong types for the resources.
This fixes it.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pci.c