android_kernel_motorola_sm6225/drivers/parport
Russell King 7a171cdcb6 [SERIAL] Fix two bugs in parport_serial
Steinar H. Gunderson reported:

  - For some reason, it detects the 9845 as a 9735 -- it appears this is
    simply related to the ordering in parport_serial_pci_tbl[]. If we move
    the 9845 up above the 9735, it prints out 9710:9845, but no change in
    behaviour. (We didn't find out why this was the case; we left it alone
    since it didn't affect our problem.)
  - The card has no parallel port (at least no physical ones), yet it reports
    (via its subsystem ID of 0x0014) one parallel port and four serial ports.
    The probe for the parallel port fails, and the driver just aborts. Thus,
    it doesn't find the serial ports.

Fix the debugging code to use dev_dbg, but don't bother displaying the
PCI ID of the detected board (that's accessible via other means.)

Also, arrange for parport_register() to return 0 even if it finds no
ports.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-03-05 21:25:40 +00:00
..
BUGS-parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ChangeLog Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
daisy.c [PATCH] parport: use complete slab buffer 2006-01-06 08:33:57 -08:00
ieee1284.c [PATCH] parport: fix documentation 2006-02-03 08:32:06 -08:00
ieee1284_ops.c [PATCH] parport: phase fixes 2006-01-06 08:33:56 -08:00
Kconfig [PATCH] parport: add parallel port support for SGI O2 2006-02-03 08:32:05 -08:00
Makefile [PATCH] parport: add parallel port support for SGI O2 2006-02-03 08:32:05 -08:00
multiface.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_amiga.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_arc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_atari.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_cs.c [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback 2006-01-06 00:03:24 +01:00
parport_gsc.c [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
parport_gsc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_ip32.c [PATCH] parport: add parallel port support for SGI O2 2006-02-03 08:32:05 -08:00
parport_mfc3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_pc.c [PATCH] parport_pc: arm build fix 2006-01-08 20:14:06 -08:00
parport_serial.c [SERIAL] Fix two bugs in parport_serial 2006-03-05 21:25:40 +00:00
parport_sunbpp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
probe.c [PATCH] parport: fix printk format warning 2006-02-03 08:32:03 -08:00
procfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
share.c [PATCH] parport: export parport_get_port() 2006-01-06 08:33:58 -08:00
TODO-parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00