public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* EISA ID for PnP modem and resource allocation
@ 2003-12-26 12:51 Amit Gurdasani
  2003-12-29 14:37 ` Adam Belay
  2004-01-04 16:27 ` Russell King
  0 siblings, 2 replies; 13+ messages in thread
From: Amit Gurdasani @ 2003-12-26 12:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: amitg

I have a PROLiNK 1456VH internal Rockwell-based ISA PnP K56flex fax modem
whose EISA ID seems not to be known to 8250_pnp.c. The ID is AEI0250 as
reported in /sys/devices/pnp1/01:01/01:01.00/id and adding this into the
pnp_dev_table[] allows the device to be found and enabled properly by the
8250 serial driver.

A query: I'm using the serial IRQ autodetection and sharing support. In
2.4.23, the serial driver was able to get the first serial port (ttyS0) and
this modem (ttyS2) to share IRQ 4. Now this is not happening, and each port
(and modem) is claiming a unique IRQ. Am I doing anything wrong?

The reason I ask is that I also have a jumpered SB16 on IRQ 5, and loading
the 8250 driver before the snd_sb16 driver results in the SB16's IRQ being
allocated for the modem, which prevents the SB16 driver from loading.
Loading the SB16 driver first results in resource starvation for the modem,
and the 8250 driver is only able to set up the onboard serial ports ttyS0
and ttyS1.

In the meantime, I'm using the isapnptools to set up the modem with IRQ 4
before loading either driver. The result is that the SB16 driver gets IRQ 5
as needed, and ttyS0 is set up with IRQ 0 (is this OK?), but I'd really like
to use the kernel ISA PnP support.

(Kernel 2.4.23's kernel ISA PnP support and serial driver would
automatically assign IRQ 4 to both ttyS0 and the modem [ttyS2].)

Please cc me in any reply, since I'm only subscribed to the daily digest on
lists.us.dell.com.

Amit Gurdasani

--- linux-2.6.0/drivers/serial/8250_pnp.c.orig	2003-12-26 16:39:01.000000000 +0400
+++ linux-2.6.0/drivers/serial/8250_pnp.c	2003-12-26 16:46:26.000000000 +0400
@@ -42,6 +42,8 @@
 	{	"ADC0001",		0	},
 	/* SXPro 288 External Data Fax Modem Plug & Play */
 	{	"ADC0002",		0	},
+	/* PROLiNK 1456VH ISA PnP K56flex Fax Modem */
+	{	"AEI0250",		0	},
 	/* Actiontec ISA PNP 56K X2 Fax Modem */
 	{	"AEI1240",		0	},
 	/* Rockwell 56K ACF II Fax+Data+Voice Modem */

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-02-02  4:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox