diff options
Diffstat (limited to 'drivers/parport/parport_serial.c')
-rw-r--r-- | drivers/parport/parport_serial.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/parport/parport_serial.c b/drivers/parport/parport_serial.c index 101ed49a2d1..032db815b0f 100644 --- a/drivers/parport/parport_serial.c +++ b/drivers/parport/parport_serial.c | |||
@@ -64,6 +64,11 @@ struct parport_pc_pci { | |||
64 | 64 | ||
65 | static int __devinit netmos_parallel_init(struct pci_dev *dev, struct parport_pc_pci *card, int autoirq, int autodma) | 65 | static int __devinit netmos_parallel_init(struct pci_dev *dev, struct parport_pc_pci *card, int autoirq, int autodma) |
66 | { | 66 | { |
67 | /* the rule described below doesn't hold for this device */ | ||
68 | if (dev->device == PCI_DEVICE_ID_NETMOS_9835 && | ||
69 | dev->subsystem_vendor == PCI_VENDOR_ID_IBM && | ||
70 | dev->subsystem_device == 0x0299) | ||
71 | return -ENODEV; | ||
67 | /* | 72 | /* |
68 | * Netmos uses the subdevice ID to indicate the number of parallel | 73 | * Netmos uses the subdevice ID to indicate the number of parallel |
69 | * and serial ports. The form is 0x00PS, where <P> is the number of | 74 | * and serial ports. The form is 0x00PS, where <P> is the number of |