From: "Michael S. Tsirkin" <mst@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Felipe Balbi <balbi@ti.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Bjorn Helgaas <bhelgaas@google.com>,
Thomas Gleixner <tglx@linutronix.de>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Andy Lutomirski <luto@amacapital.net>,
Peter Neubauer <pneubauer@bluerwhite.org>,
Huang Rui <ray.huang@amd.com>, Jean Delvare <jdelvare@suse.de>,
linux-usb@vger.kernel.org, linux-omap@vger.kernel.org,
linux-api@vger.kernel.org
Subject: [PATCH 86/86] usb/dwc3: move ids to pci_ids.h
Date: Sun, 29 Mar 2015 15:43:40 +0200 [thread overview]
Message-ID: <1427635734-24786-87-git-send-email-mst@redhat.com> (raw)
In-Reply-To: <1427635734-24786-1-git-send-email-mst@redhat.com>
Comment says IDs should move to pci_ids.h, let's do it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
include/uapi/linux/pci_ids.h | 8 ++++++++
drivers/usb/dwc3/dwc3-pci.c | 10 +---------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/include/uapi/linux/pci_ids.h b/include/uapi/linux/pci_ids.h
index e63c02a..c10833f3 100644
--- a/include/uapi/linux/pci_ids.h
+++ b/include/uapi/linux/pci_ids.h
@@ -2312,6 +2312,9 @@
#define PCI_VENDOR_ID_NETCELL 0x169c
#define PCI_DEVICE_ID_REVOLUTION 0x0044
+#define PCI_VENDOR_ID_SYNOPSYS 0x16c3
+#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 0xabcd
+
#define PCI_VENDOR_ID_CENATEK 0x16CA
#define PCI_DEVICE_ID_CENATEK_IDE 0x0001
@@ -2567,11 +2570,13 @@
#define PCI_DEVICE_ID_INTEL_I960 0x0960
#define PCI_DEVICE_ID_INTEL_I960RM 0x0962
#define PCI_DEVICE_ID_INTEL_CENTERTON_ILB 0x0c60
+#define PCI_DEVICE_ID_INTEL_BYT 0x0f37
#define PCI_DEVICE_ID_INTEL_8257X_SOL 0x1062
#define PCI_DEVICE_ID_INTEL_82573E_SOL 0x1085
#define PCI_DEVICE_ID_INTEL_82573L_SOL 0x108F
#define PCI_DEVICE_ID_INTEL_82815_MC 0x1130
#define PCI_DEVICE_ID_INTEL_82815_CGC 0x1132
+#define PCI_DEVICE_ID_INTEL_MRFLD 0x119e
#define PCI_DEVICE_ID_INTEL_82092AA_0 0x1221
#define PCI_DEVICE_ID_INTEL_7505_0 0x2550
#define PCI_DEVICE_ID_INTEL_7205_0 0x255d
@@ -2593,6 +2598,7 @@
#define PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI 0x1e31
#define PCI_DEVICE_ID_INTEL_PANTHERPOINT_LPC_MIN 0x1e40
#define PCI_DEVICE_ID_INTEL_PANTHERPOINT_LPC_MAX 0x1e5f
+#define PCI_DEVICE_ID_INTEL_BSW 0x22B7
#define PCI_DEVICE_ID_INTEL_DH89XXCC_LPC_MIN 0x2310
#define PCI_DEVICE_ID_INTEL_DH89XXCC_LPC_MAX 0x231f
#define PCI_DEVICE_ID_INTEL_82801AA_0 0x2410
@@ -2891,6 +2897,8 @@
#define PCI_DEVICE_ID_INTEL_84460GX 0x84ea
#define PCI_DEVICE_ID_INTEL_IXP4XX 0x8500
#define PCI_DEVICE_ID_INTEL_IXP2800 0x9004
+#define PCI_DEVICE_ID_INTEL_SPTLP 0x9d30
+#define PCI_DEVICE_ID_INTEL_SPTH 0xa130
#define PCI_DEVICE_ID_INTEL_S21152BB 0xb152
#define PCI_VENDOR_ID_SCALEMP 0x8686
diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c
index 4285d8f..19ca7f6 100644
--- a/drivers/usb/dwc3/dwc3-pci.c
+++ b/drivers/usb/dwc3/dwc3-pci.c
@@ -20,19 +20,11 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/pci.h>
+#include <linux/pci_ids.h>
#include <linux/platform_device.h>
#include "platform_data.h"
-/* FIXME define these in <uapi/linux/pci_ids.h> */
-#define PCI_VENDOR_ID_SYNOPSYS 0x16c3
-#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 0xabcd
-#define PCI_DEVICE_ID_INTEL_BYT 0x0f37
-#define PCI_DEVICE_ID_INTEL_MRFLD 0x119e
-#define PCI_DEVICE_ID_INTEL_BSW 0x22B7
-#define PCI_DEVICE_ID_INTEL_SPTLP 0x9d30
-#define PCI_DEVICE_ID_INTEL_SPTH 0xa130
-
static int dwc3_pci_quirks(struct pci_dev *pdev)
{
if (pdev->vendor == PCI_VENDOR_ID_AMD &&
--
MST
next prev parent reply other threads:[~2015-03-29 13:43 UTC|newest]
Thread overview: 152+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-29 13:36 [PATCH 00/86] pci: export pci_ids.h and related cleanups Michael S. Tsirkin
2015-03-29 13:37 ` [PATCH 01/86] pci: export pci_ids.h Michael S. Tsirkin
2015-03-29 15:49 ` Joe Perches
2015-03-29 20:40 ` Greg KH
2015-03-30 6:48 ` Michael S. Tsirkin
2015-03-30 6:55 ` Greg KH
2015-03-30 7:15 ` Michael S. Tsirkin
2015-03-30 7:53 ` Greg KH
2015-03-30 8:31 ` Michael S. Tsirkin
2015-03-30 10:07 ` Greg KH
2015-03-30 10:46 ` Michael S. Tsirkin
2015-03-30 10:57 ` Greg KH
2015-03-30 11:19 ` Michael S. Tsirkin
2015-03-30 11:35 ` Greg KH
2015-03-30 11:41 ` Michael S. Tsirkin
2015-03-29 13:37 ` [PATCH 02/86] i2c/i801: linux/pci_ids.h -> uapi/linux/pci_ids.h Michael S. Tsirkin
2015-03-30 7:31 ` Jean Delvare
2015-04-03 19:09 ` Wolfram Sang
2015-04-06 6:38 ` Jean Delvare
2015-03-29 13:37 ` [PATCH 03/86] mips/netlogic: use uapi/linux/pci_ids.h directly Michael S. Tsirkin
2015-03-29 13:37 ` [PATCH 04/86] powerpc/pci: " Michael S. Tsirkin
2015-03-29 13:37 ` [PATCH 05/86] x86/gart: " Michael S. Tsirkin
2015-03-30 5:29 ` Ingo Molnar
2015-03-30 6:55 ` Michael S. Tsirkin
2015-03-31 8:34 ` Ingo Molnar
2015-03-31 9:47 ` Michael S. Tsirkin
2015-03-31 9:51 ` Ingo Molnar
2015-03-31 11:04 ` Michael S. Tsirkin
2015-03-31 12:51 ` James Bottomley
2015-03-29 13:37 ` [PATCH 06/86] x86/microcode/amd: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 07/86] x86/quirks: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 08/86] x86/printk: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 09/86] x86/calgary: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 10/86] x86/apic/vsmp: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 11/86] x86/mm/numa: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 12/86] x86/pci/sta2x11: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 13/86] acpi/video: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 14/86] crypto/ccp: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 15/86] crypto/geode: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 16/86] dmaengine: " Michael S. Tsirkin
2015-03-29 13:38 ` [PATCH 17/86] dma/ioat: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 18/86] edac/amd: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 19/86] edac/e7xxx: " Michael S. Tsirkin
2015-03-30 21:41 ` Gross, Mark
2015-03-29 13:39 ` [PATCH 20/86] edac/e752x: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 21/86] edac/i3000: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 22/86] edac/i3200: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 23/86] edac/i5000: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 24/86] edac/i5100: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 25/86] edac/i5400: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 26/86] edac/i7300: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 27/86] edac/i7core: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 28/86] edac/i82443bxgx: " Michael S. Tsirkin
2015-03-29 13:39 ` [PATCH 29/86] edac/i82860: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 30/86] edac/i82875p: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 31/86] edac/i82975x: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 32/86] edac/ie31200: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 33/86] edac/pasemi: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 34/86] edac/r82600: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 35/86] edac/sbridge: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 36/86] edac/x38_edac: " Michael S. Tsirkin
2015-03-29 13:59 ` Borislav Petkov
2015-03-29 14:27 ` Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 37/86] firewire/ohci: " Michael S. Tsirkin
2015-03-29 23:15 ` Stefan Richter
2015-03-29 13:40 ` [PATCH 38/86] gpio/sch: " Michael S. Tsirkin
2015-04-07 13:03 ` Linus Walleij
2015-03-29 13:40 ` [PATCH 39/86] i2c/i801: " Michael S. Tsirkin
2015-03-30 7:32 ` Jean Delvare
2015-04-03 19:09 ` Wolfram Sang
2015-03-29 13:40 ` [PATCH 40/86] ide/generic: " Michael S. Tsirkin
2015-03-29 14:12 ` Sergei Shtylyov
2015-03-29 14:52 ` Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 41/86] input/keyboard: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 42/86] input/serio: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 43/86] macintosh: " Michael S. Tsirkin
2015-03-29 13:40 ` [PATCH 44/86] media/ddbridge: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 45/86] media/ngene: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 46/86] media/fintek: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 47/86] media/ite: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 48/86] media/nuvoton: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 49/86] media/winbond: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 50/86] memstick/r592: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 51/86] cxl: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 52/86] mtd/maps: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 53/86] mtd/nand: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 54/86] atheros/atlx: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 55/86] chelsio/cxgb: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 56/86] intel/ixgb: " Michael S. Tsirkin
2015-03-29 23:55 ` Jeff Kirsher
[not found] ` <CAOaVG15C+4_+m-GFCB0V-G0fBGwj4fg7VsWmgwB+QNDWT136bA@mail.gmail.com>
2015-03-30 19:04 ` Jeff Kirsher
2015-03-29 13:41 ` [PATCH 57/86] brcm80211: " Michael S. Tsirkin
2015-03-29 16:45 ` Arend van Spriel
2015-03-29 13:41 ` [PATCH 58/86] pci-label: " Michael S. Tsirkin
2015-03-29 13:41 ` [PATCH 59/86] x86/thinkpad_acpi: " Michael S. Tsirkin
2015-03-29 21:02 ` Henrique de Moraes Holschuh
2015-04-02 5:14 ` Darren Hart
2015-03-29 13:41 ` [PATCH 60/86] scsi/arcmsr: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 61/86] scsi/qla1280: " Michael S. Tsirkin
2015-03-29 14:03 ` James Bottomley
2015-03-29 14:36 ` Michael S. Tsirkin
2015-03-29 14:52 ` James Bottomley
2015-03-29 13:42 ` [PATCH 62/86] staging/comedi: " Michael S. Tsirkin
2015-03-29 17:35 ` Ian Abbott
2015-03-30 17:28 ` Hartley Sweeten
2015-03-29 13:42 ` [PATCH 63/86] staging/olpc: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 64/86] tty/serial: comment update Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 65/86] usb/dwc3: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 66/86] usb/early: use uapi/linux/pci_ids.h directly Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 67/86] usb/gadget: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 68/86] usb/host: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 69/86] usb/misc: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 70/86] fbdev/gxt4500: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 71/86] fbdev/i740fb: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 72/86] fbdev/i810: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 73/86] fbdev/riva: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 74/86] w1: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 75/86] watchdog: " Michael S. Tsirkin
2015-03-29 13:42 ` [PATCH 76/86] sound/pci: " Michael S. Tsirkin
2015-04-04 10:48 ` Takashi Iwai
2015-03-29 13:43 ` [PATCH 77/86] linux/pci: " Michael S. Tsirkin
2015-03-29 13:43 ` [PATCH 78/86] linux/pci: drop include/linux/pci_ids.h Michael S. Tsirkin
2015-03-29 13:43 ` [PATCH 79/86] x86/microcode/amd: drop pci_ids dependency Michael S. Tsirkin
2015-03-29 16:14 ` Borislav Petkov
2015-03-31 12:37 ` [tip:x86/microcode] x86/microcode/amd: Drop the pci_ids.h dependency tip-bot for Michael S. Tsirkin
2015-03-29 13:43 ` [PATCH 80/86] crypto/ccp: drop linux/pci dependencies Michael S. Tsirkin
2015-03-29 13:43 ` [PATCH 81/86] input/serio: drop pci_ids dependency Michael S. Tsirkin
2015-03-29 13:43 ` [PATCH 82/86] media/fintek: " Michael S. Tsirkin
2015-03-29 15:40 ` Mauro Carvalho Chehab
2015-03-29 13:43 ` [PATCH 83/86] brcm80211: drop pci dependency Michael S. Tsirkin
2015-03-29 16:46 ` Arend van Spriel
2015-03-29 13:43 ` [PATCH 84/86] brcm80211: drop pci_ids include Michael S. Tsirkin
2015-03-29 16:47 ` Arend van Spriel
2015-03-29 13:43 ` [PATCH 85/86] staging/olpc: drop pci dependencies Michael S. Tsirkin
2015-03-29 13:43 ` Michael S. Tsirkin [this message]
2015-03-29 20:42 ` [PATCH 86/86] usb/dwc3: move ids to pci_ids.h Greg Kroah-Hartman
2015-03-30 6:50 ` Michael S. Tsirkin
2015-03-30 6:58 ` Greg Kroah-Hartman
2015-03-30 7:16 ` Michael S. Tsirkin
2015-03-29 17:59 ` [PATCH 00/86] pci: export pci_ids.h and related cleanups Joe Perches
2015-03-30 6:52 ` Michael S. Tsirkin
2015-03-29 23:15 ` Stefan Richter
2015-04-02 7:44 ` Jean Delvare
2015-04-02 7:49 ` Michael S. Tsirkin
2015-04-02 8:23 ` Christoph Hellwig
2015-04-02 9:04 ` Jean Delvare
2015-04-02 10:09 ` Michael S. Tsirkin
2015-04-02 11:15 ` Jean Delvare
2015-04-02 12:05 ` Michael S. Tsirkin
2015-04-02 13:17 ` Jean Delvare
2015-04-02 12:09 ` Michael S. Tsirkin
2015-04-02 14:34 ` Alex Williamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1427635734-24786-87-git-send-email-mst@redhat.com \
--to=mst@redhat.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=balbi@ti.com \
--cc=bhelgaas@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=jdelvare@suse.de \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=pneubauer@bluerwhite.org \
--cc=ray.huang@amd.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome