Messages in this thread Patch in this message | | | Date | Mon, 26 Jan 2004 19:22:04 +0000 | From | Adam Belay <> | Subject | Re: EISA ID for PnP modem and resource allocation |
| |
On Mon, Jan 05, 2004 at 05:23:27PM +0400, Amit Gurdasani wrote: > On Sun, 4 Jan 2004, Russell King wrote: > > :On Mon, Dec 29, 2003 at 10:50:37PM +0000, Adam Belay wrote: > :> > ttyS0 at I/O 0x3f8 (irq = 0) is a 16550A > :> > ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > :> > ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A > :> > parport0: irq 7 detected > :> > :> Hmm, it shouldn't be reporting irq 0. The probbing code may be confused. > :> I would guess it is on irq 4. > : > :irq0 on x86 means "I'll use polled mode".
It occured to me that we should probably check which resources the pnpbios is reporting. If you have a chance, could you please show me the output of this hack.
Thanks, Adam
--- a/drivers/serial/8250_pnp.c 2004-01-23 15:05:39.000000000 +0000 +++ b/drivers/serial/8250_pnp.c 2004-01-26 19:10:34.000000000 +0000 @@ -32,6 +32,8 @@ #define UNKNOWN_DEV 0x3000 +#define SERIAL_DEBUG_PNP 1 + static const struct pnp_device_id pnp_dev_table[] = { /* Archtek America Corp. */ @@ -402,8 +404,8 @@ if (HIGH_BITS_OFFSET) serial_req.port = pnp_port_start(dev, 0) >> HIGH_BITS_OFFSET; #ifdef SERIAL_DEBUG_PNP - printk("Setup PNP port: port %x, irq %d, type %d\n", - serial_req.port, serial_req.irq, serial_req.io_type); + printk("Setup PNP port: port %x, irq %d, type %d, pnp_node %x\n", + serial_req.port, serial_req.irq, serial_req.io_type, dev->number); #endif serial_req.flags = ASYNC_SKIP_TEST | ASYNC_AUTOPROBE; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |