aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-09-09 17:26:01 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-09 17:26:01 -0400
commit8ccc457722ba226ea72fca6f9ba3b54535d4749e (patch)
treee323eda3b7ed55a5398751021e8031c1cae56f9d /drivers/pci/probe.c
parent20dd026d7f5a6972dc78b4928a99620001fa547d (diff)
parent5dce225bd9ea60e28e17076de63df0dee51b2883 (diff)
Merge gregkh@master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r--drivers/pci/probe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 93e8a878ea95..b9c9b03919d4 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -584,7 +584,7 @@ static int pci_setup_device(struct pci_dev * dev)
584 dev->vendor, dev->device, class, dev->hdr_type); 584 dev->vendor, dev->device, class, dev->hdr_type);
585 585
586 /* "Unknown power state" */ 586 /* "Unknown power state" */
587 dev->current_state = 4; 587 dev->current_state = PCI_UNKNOWN;
588 588
589 /* Early fixups, before probing the BARs */ 589 /* Early fixups, before probing the BARs */
590 pci_fixup_device(pci_fixup_early, dev); 590 pci_fixup_device(pci_fixup_early, dev);
@@ -757,8 +757,6 @@ pci_scan_device(struct pci_bus *bus, int devfn)
757 dev->dev.release = pci_release_dev; 757 dev->dev.release = pci_release_dev;
758 pci_dev_get(dev); 758 pci_dev_get(dev);
759 759
760 pci_name_device(dev);
761
762 dev->dev.dma_mask = &dev->dma_mask; 760 dev->dev.dma_mask = &dev->dma_mask;
763 dev->dev.coherent_dma_mask = 0xffffffffull; 761 dev->dev.coherent_dma_mask = 0xffffffffull;
764 762