* usb: Move device id for quirk to pci_ids
@ 2011-05-29 21:05 Maarten Lankhorst
0 siblings, 0 replies; only message in thread
From: Maarten Lankhorst @ 2011-05-29 21:05 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
---
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?
[-- Attachment #2: 0001-usb-Move-device-id-for-quirk-to-pci_ids.txt --]
[-- Type: text/plain, Size: 1199 bytes --]
>From 9259b45bf91729235e165d584de1a65a09664325 Mon Sep 17 00:00:00 2001
From: Maarten Lankhorst <m.b.lankhorst@gmail.com>
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(-)
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index a10494c..5a41f05 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -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" */
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 8abe8d7..1c56294 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -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
--
1.7.4.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-29 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-29 21:05 usb: Move device id for quirk to pci_ids Maarten Lankhorst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox