]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit116dfe4ea04a3b8b2249ef4889e1f83b3f499510
tree9672cd40a47d1791d906c0c5d3990f7274a20ff9
parente85e3e4b01c0836956590481d190300e51ba975b
[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