aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ieee1394/ohci1394.c4
-rw-r--r--include/linux/pci_ids.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c
index 628130a58af3..380212573fb5 100644
--- a/drivers/ieee1394/ohci1394.c
+++ b/drivers/ieee1394/ohci1394.c
@@ -3634,11 +3634,9 @@ static int ohci1394_pci_resume(struct pci_dev *pdev)
3634} 3634}
3635#endif /* CONFIG_PM */ 3635#endif /* CONFIG_PM */
3636 3636
3637#define PCI_CLASS_FIREWIRE_OHCI ((PCI_CLASS_SERIAL_FIREWIRE << 8) | 0x10)
3638
3639static struct pci_device_id ohci1394_pci_tbl[] = { 3637static struct pci_device_id ohci1394_pci_tbl[] = {
3640 { 3638 {
3641 .class = PCI_CLASS_FIREWIRE_OHCI, 3639 .class = PCI_CLASS_SERIAL_FIREWIRE_OHCI,
3642 .class_mask = PCI_ANY_ID, 3640 .class_mask = PCI_ANY_ID,
3643 .vendor = PCI_ANY_ID, 3641 .vendor = PCI_ANY_ID,
3644 .device = PCI_ANY_ID, 3642 .device = PCI_ANY_ID,
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 3d1d21035dec..c0ced96656c5 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -95,6 +95,7 @@
95 95
96#define PCI_BASE_CLASS_SERIAL 0x0c 96#define PCI_BASE_CLASS_SERIAL 0x0c
97#define PCI_CLASS_SERIAL_FIREWIRE 0x0c00 97#define PCI_CLASS_SERIAL_FIREWIRE 0x0c00
98#define PCI_CLASS_SERIAL_FIREWIRE_OHCI 0x0c0010
98#define PCI_CLASS_SERIAL_ACCESS 0x0c01 99#define PCI_CLASS_SERIAL_ACCESS 0x0c01
99#define PCI_CLASS_SERIAL_SSA 0x0c02 100#define PCI_CLASS_SERIAL_SSA 0x0c02
100#define PCI_CLASS_SERIAL_USB 0x0c03 101#define PCI_CLASS_SERIAL_USB 0x0c03