[PATCH] PCI: i386 mmconfig: don't forget bus number when setting fallback_slots bits

On i386 PCI mmconfig forgets the bus number when setting the fallback_slots
bits which means fallback to conf1 only works for bus 0.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by Daniel Ritz and committed by Greg Kroah-Hartman fd4dc27c 954c0b7c

+1 -1
+1 -1
arch/i386/pci/mmconfig.c
··· 178 178 pci_exp_set_dev_base(addr, k, PCI_DEVFN(i, 0)); 179 179 if (addr == 0 || 180 180 readl((u32 __iomem *)mmcfg_virt_addr) != val1) { 181 - set_bit(i, fallback_slots); 181 + set_bit(i + 32*k, fallback_slots); 182 182 printk(KERN_NOTICE 183 183 "PCI: No mmconfig possible on %x:%x\n", k, i); 184 184 }