aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r--drivers/pci/probe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 08783bd381f5..a7bce75c6732 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -654,7 +654,7 @@ int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass
654 pcibios_assign_all_busses() ? " " : 654 pcibios_assign_all_busses() ? " " :
655 " (try 'pci=assign-busses')"); 655 " (try 'pci=assign-busses')");
656 printk(KERN_WARNING "Please report the result to " 656 printk(KERN_WARNING "Please report the result to "
657 "linux-kernel to fix this permanently\n"); 657 "<bk@suse.de> to fix this permanently\n");
658 } 658 }
659 bus = bus->parent; 659 bus = bus->parent;
660 } 660 }
@@ -700,6 +700,7 @@ static int pci_setup_device(struct pci_dev * dev)
700 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); 700 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
701 701
702 pci_read_config_dword(dev, PCI_CLASS_REVISION, &class); 702 pci_read_config_dword(dev, PCI_CLASS_REVISION, &class);
703 dev->revision = class & 0xff;
703 class >>= 8; /* upper 3 bytes */ 704 class >>= 8; /* upper 3 bytes */
704 dev->class = class; 705 dev->class = class;
705 class >>= 8; 706 class >>= 8;