From: Adam Belay <ambx1@neo.rr.com>
To: Amit Gurdasani <amitg@alumni.cmu.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: EISA ID for PnP modem and resource allocation
Date: Mon, 26 Jan 2004 19:22:04 +0000 [thread overview]
Message-ID: <20040126192204.GA7280@neo.rr.com> (raw)
In-Reply-To: <Pine.LNX.4.56.0401051713370.4783@athena.localdomain>
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;
next prev parent reply other threads:[~2004-01-27 0:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-26 12:51 EISA ID for PnP modem and resource allocation Amit Gurdasani
2003-12-29 14:37 ` Adam Belay
2003-12-29 23:59 ` Amit Gurdasani
2003-12-29 22:50 ` Adam Belay
2004-01-04 16:26 ` Russell King
2004-01-05 13:23 ` Amit Gurdasani
2004-01-26 19:22 ` Adam Belay [this message]
2004-01-29 6:57 ` Amit Gurdasani
2004-01-30 0:26 ` Adam Belay
2004-01-30 11:55 ` Amit Gurdasani
2004-02-01 23:37 ` Adam Belay
2003-12-30 16:20 ` Amit Gurdasani
2004-01-04 16:27 ` Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040126192204.GA7280@neo.rr.com \
--to=ambx1@neo.rr.com \
--cc=amitg@alumni.cmu.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox