From dcad734cf797adcf94a05377b0a8a2adc18a7838 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Mon, 27 Aug 2007 16:17:38 -0700 Subject: [PATCH] --- yaml --- r: 68027 b: refs/heads/master c: 3799a4e7d8867cfbb137d417beb126d5a2302607 h: refs/heads/master i: 68025: 4683dd444b35057b613cc6cca710c0909246988f 68023: dd361f53c025299e1282104aab64c4edd959e1a7 v: v3 --- [refs] | 2 +- trunk/drivers/pci/hotplug/cpqphp_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2eee00668816..178065be81af 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9f672153ba921fdc6d4ef5ca8f6e65ac58cc970c +refs/heads/master: 3799a4e7d8867cfbb137d417beb126d5a2302607 diff --git a/trunk/drivers/pci/hotplug/cpqphp_core.c b/trunk/drivers/pci/hotplug/cpqphp_core.c index 2305cc450a45..a96b739b2d35 100644 --- a/trunk/drivers/pci/hotplug/cpqphp_core.c +++ b/trunk/drivers/pci/hotplug/cpqphp_core.c @@ -549,7 +549,7 @@ get_slot_mapping(struct pci_bus *bus, u8 bus_num, u8 dev_num, u8 *slot) * slot. */ bus->number = tbus; pci_bus_read_config_dword(bus, PCI_DEVFN(tdevice, 0), - PCI_REVISION_ID, &work); + PCI_CLASS_REVISION, &work); if ((work >> 8) == PCI_TO_PCI_BRIDGE_CLASS) { pci_bus_read_config_dword(bus,