aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-12-08 10:19:14 -0500
committerJesse Barnes <jbarnes@hobbes.lan>2009-03-19 22:29:31 -0400
commit4c9c16867e4980fbd7d1fcc9516c9269ecb4d06f (patch)
tree95782ca53adb40472bc290ffc5ef6d938c46905d
parent62795041418dd63cd9ff6ff7bbdf1d1c513c189b (diff)
PCI quirk: don't mark one netmos as class other
Let it stay as serial, since it doesn't have subdevice in the form of 0x00PS. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--drivers/pci/quirks.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 92b9efe9bcaf..5aa2afb23ef9 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1664,9 +1664,13 @@ static void __devinit quirk_netmos(struct pci_dev *dev)
1664 * of parallel ports and <S> is the number of serial ports. 1664 * of parallel ports and <S> is the number of serial ports.
1665 */ 1665 */
1666 switch (dev->device) { 1666 switch (dev->device) {
1667 case PCI_DEVICE_ID_NETMOS_9835:
1668 /* Well, this rule doesn't hold for the following 9835 device */
1669 if (dev->subsystem_vendor == PCI_VENDOR_ID_IBM &&
1670 dev->subsystem_device == 0x0299)
1671 return;
1667 case PCI_DEVICE_ID_NETMOS_9735: 1672 case PCI_DEVICE_ID_NETMOS_9735:
1668 case PCI_DEVICE_ID_NETMOS_9745: 1673 case PCI_DEVICE_ID_NETMOS_9745:
1669 case PCI_DEVICE_ID_NETMOS_9835:
1670 case PCI_DEVICE_ID_NETMOS_9845: 1674 case PCI_DEVICE_ID_NETMOS_9845:
1671 case PCI_DEVICE_ID_NETMOS_9855: 1675 case PCI_DEVICE_ID_NETMOS_9855:
1672 if ((dev->class >> 8) == PCI_CLASS_COMMUNICATION_SERIAL && 1676 if ((dev->class >> 8) == PCI_CLASS_COMMUNICATION_SERIAL &&