]> git.neil.brown.name Git - history.git/commit
[SERIAL] add TP560 data/fax/modem support
authorBjorn Helgaas <bjorn.helgaas@com.rmk.(none)>
Fri, 11 Feb 2005 23:23:06 +0000 (23:23 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Fri, 11 Feb 2005 23:23:06 +0000 (23:23 +0000)
commitae48fc35e20494e897ffe4212d279b86673000e7
tree3c95a9fe9ce739018808724c29082b6b0e45f8db
parenta6dd8feb9fdea580af14c13e8539cf94662fa4ad
[SERIAL] add TP560 data/fax/modem support

Patch from Bjorn Helgaas

Claim Topic TP560 data/fax/voice modem.  This device reports as class 0x0780,
so we don't claim it by default:

        00:0d.0 Class 0780: 151f:0000
                Subsystem: 151f:0000
                Interrupt: pin A routed to IRQ 11
                Region 0: I/O ports at a400 [size=8]
        00: 1f 15 00 00 01 00 00 02 00 00 80 07 00 00 00 00
        10: 01 a4 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        20: 00 00 00 00 00 00 00 00 00 00 00 00 1f 15 00 00
        30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00

Some rc.serial scripts extract IRQ and I/O port information from
/proc/pci and stuff it into an unused port using setserial.  That
doesn't work reliably anymore because pci_enable_device() is never
called, so the IRQ may not be enabled.

Thanks to Evan Clarke for reporting and helping debug this problem.

Signed-off-by: Bjorn Helgaas
drivers/serial/8250_pci.c
include/linux/pci_ids.h