diff options
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 5c4924c27f09..27148db06ba0 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -199,7 +199,7 @@ static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) | |||
199 | printk(KERN_ERR "PCI: Unable to handle 64-bit BAR for device %s\n", pci_name(dev)); | 199 | printk(KERN_ERR "PCI: Unable to handle 64-bit BAR for device %s\n", pci_name(dev)); |
200 | res->start = 0; | 200 | res->start = 0; |
201 | res->flags = 0; | 201 | res->flags = 0; |
202 | } else if (l) { | 202 | } else if (lhi) { |
203 | /* 64-bit wide address, treat as disabled */ | 203 | /* 64-bit wide address, treat as disabled */ |
204 | pci_write_config_dword(dev, reg, l & ~(u32)PCI_BASE_ADDRESS_MEM_MASK); | 204 | pci_write_config_dword(dev, reg, l & ~(u32)PCI_BASE_ADDRESS_MEM_MASK); |
205 | pci_write_config_dword(dev, reg+4, 0); | 205 | pci_write_config_dword(dev, reg+4, 0); |