Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3799a4e7d8867cfbb137d417beb126d5a2302607
Commit:     3799a4e7d8867cfbb137d417beb126d5a2302607
Parent:     9f672153ba921fdc6d4ef5ca8f6e65ac58cc970c
Author:     Auke Kok <[EMAIL PROTECTED]>
AuthorDate: Mon Aug 27 16:17:38 2007 -0700
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 15:03:16 2007 -0700

    cpqphp: Use PCI_CLASS_REVISION instead of PCI_REVISION_ID for read
    
    While PCI_CLASS_REVISION and PCI_REVISION_ID are identical, the
    code here discards the revision content and is only interested in
    the class number.
    
    Signed-off-by: Auke Kok <[EMAIL PROTECTED]>
    Cc: Krosten Accardi <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/pci/hotplug/cpqphp_core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pci/hotplug/cpqphp_core.c 
b/drivers/pci/hotplug/cpqphp_core.c
index 2305cc4..a96b739 100644
--- a/drivers/pci/hotplug/cpqphp_core.c
+++ b/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,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to