]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Add PCI class ID for firewire OHCI controllers.
authorKristian Høgsberg <krh@redhat.com>
Sun, 17 Dec 2006 19:34:09 +0000 (14:34 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 8 Feb 2007 19:55:23 +0000 (20:55 +0100)
Pull this define out of drivers/ieee1394/ohci1394.c and rename to match
other PCI class defines.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/ohci1394.c
include/linux/pci_ids.h

index 628130a58af3fe9205750bdf4b68eb225815fbaa..380212573fb5ee0c43df58061772c29ccf0d1c53 100644 (file)
@@ -3634,11 +3634,9 @@ static int ohci1394_pci_resume(struct pci_dev *pdev)
 }
 #endif /* CONFIG_PM */
 
-#define PCI_CLASS_FIREWIRE_OHCI     ((PCI_CLASS_SERIAL_FIREWIRE << 8) | 0x10)
-
 static struct pci_device_id ohci1394_pci_tbl[] = {
        {
-               .class =        PCI_CLASS_FIREWIRE_OHCI,
+               .class =        PCI_CLASS_SERIAL_FIREWIRE_OHCI,
                .class_mask =   PCI_ANY_ID,
                .vendor =       PCI_ANY_ID,
                .device =       PCI_ANY_ID,
index 3d1d21035dec23ecfd981cfd07acb9bf07e1f16e..c0ced96656c5376b73b7e00c3c6721d914c7e4d0 100644 (file)
@@ -95,6 +95,7 @@
 
 #define PCI_BASE_CLASS_SERIAL          0x0c
 #define PCI_CLASS_SERIAL_FIREWIRE      0x0c00
+#define PCI_CLASS_SERIAL_FIREWIRE_OHCI 0x0c0010
 #define PCI_CLASS_SERIAL_ACCESS                0x0c01
 #define PCI_CLASS_SERIAL_SSA           0x0c02
 #define PCI_CLASS_SERIAL_USB           0x0c03