sparc: Add alignment flag to PCI expansion resources
authorKjetil Oftedal <oftedal@gmail.com>
Wed, 19 Oct 2011 23:20:50 +0000 (16:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 23:20:50 +0000 (16:20 -0700)
commitaad4564498dcb0aad769a79e5e2aa9a661dfb51f
treec78a9d5396c25fd56b43f8531e87b251a12b1431
parent27f20dca01b00eac445e5193565dd185548e7e34
sparc: Add alignment flag to PCI expansion resources

Currently no type of alignment is specified for PCI expansion roms while
parsing the openfirmware tree. This causes calls to pci_map_rom() to fail.
IORESOURCE_SIZEALIGN is the default alignment used for rom resouces in
pci/probe.c, and has been verified to work with various cards on a ultra 10.

Signed-off-By: Kjetil Oftedal <oftedal@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pci.c