Message ID | e9c3a7c20911091635q708f5699kcebafe9a26fd4c58@mail.gmail.com (mailing list archive) |
---|---|
State | RFC, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
diff --git a/arch/arm/mach-iop13xx/pci.c b/arch/arm/mach-iop13xx/pci.c index 4873f26..1b6a65a 100644 --- a/arch/arm/mach-iop13xx/pci.c +++ b/arch/arm/mach-iop13xx/pci.c @@ -190,7 +190,7 @@ static u32 iop13xx_atux_cfg_address(struct pci_bus *bus, int devfn, int where) else addr = bus->number << 16 | PCI_SLOT(devfn) << 11 | 1; - addr |= PCI_FUNC(devfn) << 8 | ((where & 0xff) & ~3); + addr |= PCI_FUNC(devfn) << 8 | (where & 0xff); addr |= ((where & 0xf00) >> 8) << 24; /* upper register number */