Skip to contentSkip to conversation

usb: Move device id for quirk to pci_ids

PATCH Maarten Lankhorst 1 participant 1 message May 29, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

---
When adding a quirk for asrock p67 xhci controller I noticed it being defined on top, I don't know what the policy is, but shouldn't it be in pci_ids?

Quoted 1 line

From 9259b45bf91729235e165d584de1a65a09664325 Mon Sep 17 00:00:00 2001

From: Maarten Lankhorst <[email protected]>
Date: Sun, 29 May 2011 22:56:47 +0200
Subject: [PATCH 1/2] usb: Move device id for quirk to pci_ids

---
 drivers/usb/host/xhci-pci.c |    4 ----
 include/linux/pci_ids.h     |    3 +++
 2 files changed, 3 insertions(+), 4 deletions(-)
drivers/usb/host/xhci-pci.c +0 -4
index a10494c..5a41f05 100644
@@ -24,10 +24,6 @@
 
 #include "xhci.h"
 
-/* Device for a quirk */
-#define PCI_VENDOR_ID_FRESCO_LOGIC	0x1b73
-#define PCI_DEVICE_ID_FRESCO_LOGIC_PDK	0x1000
-
 static const char hcd_name[] = "xhci_hcd";
 
 /* called after powerup, by probe or system-pm "wakeup" */
include/linux/pci_ids.h +3 -0
index 8abe8d7..1c56294 100644
@@ -2387,6 +2387,9 @@
 
 #define PCI_VENDOR_ID_AZWAVE		0x1a3b
 
+#define PCI_VENDOR_ID_FRESCO_LOGIC	0x1b73
+#define PCI_DEVICE_ID_FRESCO_LOGIC_PDK	0x1000
+
 #define PCI_VENDOR_ID_TEKRAM		0x1de1
 #define PCI_DEVICE_ID_TEKRAM_DC290	0xdc29
 
Signature · 1 line
1.7.4.1