parport: parport_serial, don't bind netmos ibm 0299
authorJiri Slaby <jirislaby@gmail.com>
Wed, 11 Feb 2009 21:04:40 +0000 (13:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Feb 2009 22:25:37 +0000 (14:25 -0800)
commit3abdbf90a3ffb006108c831c56b092e35483b6ec
tree29e9dc845e2834d73b337bbd539df1c5231f8104
parent89e1219004b3657cc014521663eeef0744f1c99d
parport: parport_serial, don't bind netmos ibm 0299

Since netmos 9835 with subids 0x1014(IBM):0x0299 is now bound with
serial/8250_pci, because it has no parallel ports and subdevice id isn't
in the expected form, return -ENODEV from probe function.

This is performed in netmos preinit_hook.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parport/parport_serial.c