diff options
| author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2016-03-15 08:06:00 -0400 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-15 09:52:28 -0400 |
| commit | 7b78f48a0443eceae435870b14e86d586f8c2a3e (patch) | |
| tree | 13d5d88f0937ac425ae20b0c983f89ed5eb113b8 /drivers/usb/gadget/udc/pch_udc.c | |
| parent | caf02abf9bd00b4c23745a055c4f4c243eecd392 (diff) | |
PCI: Add PCI_CLASS_SERIAL_USB_DEVICE definition
PCI-SIG has defined Interface FEh for Base Class 0Ch, Sub-Class 03h as "USB
Device (not host controller)". It is already being used in various USB
device controller drivers for matching, so add PCI_CLASS_SERIAL_USB_DEVICE
and use it.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/usb/gadget/udc/pch_udc.c')
| -rw-r--r-- | drivers/usb/gadget/udc/pch_udc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/gadget/udc/pch_udc.c b/drivers/usb/gadget/udc/pch_udc.c index 7a04157ff579..9571ef54b86b 100644 --- a/drivers/usb/gadget/udc/pch_udc.c +++ b/drivers/usb/gadget/udc/pch_udc.c | |||
| @@ -3234,22 +3234,22 @@ static const struct pci_device_id pch_udc_pcidev_id[] = { | |||
| 3234 | { | 3234 | { |
| 3235 | PCI_DEVICE(PCI_VENDOR_ID_INTEL, | 3235 | PCI_DEVICE(PCI_VENDOR_ID_INTEL, |
| 3236 | PCI_DEVICE_ID_INTEL_QUARK_X1000_UDC), | 3236 | PCI_DEVICE_ID_INTEL_QUARK_X1000_UDC), |
| 3237 | .class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe, | 3237 | .class = PCI_CLASS_SERIAL_USB_DEVICE, |
| 3238 | .class_mask = 0xffffffff, | 3238 | .class_mask = 0xffffffff, |
| 3239 | }, | 3239 | }, |
| 3240 | { | 3240 | { |
| 3241 | PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EG20T_UDC), | 3241 | PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EG20T_UDC), |
| 3242 | .class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe, | 3242 | .class = PCI_CLASS_SERIAL_USB_DEVICE, |
| 3243 | .class_mask = 0xffffffff, | 3243 | .class_mask = 0xffffffff, |
| 3244 | }, | 3244 | }, |
| 3245 | { | 3245 | { |
| 3246 | PCI_DEVICE(PCI_VENDOR_ID_ROHM, PCI_DEVICE_ID_ML7213_IOH_UDC), | 3246 | PCI_DEVICE(PCI_VENDOR_ID_ROHM, PCI_DEVICE_ID_ML7213_IOH_UDC), |
| 3247 | .class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe, | 3247 | .class = PCI_CLASS_SERIAL_USB_DEVICE, |
| 3248 | .class_mask = 0xffffffff, | 3248 | .class_mask = 0xffffffff, |
| 3249 | }, | 3249 | }, |
| 3250 | { | 3250 | { |
| 3251 | PCI_DEVICE(PCI_VENDOR_ID_ROHM, PCI_DEVICE_ID_ML7831_IOH_UDC), | 3251 | PCI_DEVICE(PCI_VENDOR_ID_ROHM, PCI_DEVICE_ID_ML7831_IOH_UDC), |
| 3252 | .class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe, | 3252 | .class = PCI_CLASS_SERIAL_USB_DEVICE, |
| 3253 | .class_mask = 0xffffffff, | 3253 | .class_mask = 0xffffffff, |
| 3254 | }, | 3254 | }, |
| 3255 | { 0 }, | 3255 | { 0 }, |
