Re: [patch 01/15] serial: when guessing, check only active resources, not options

From: Bjorn Helgaas
Date: Mon Jun 02 2008 - 11:21:19 EST


On Sunday 01 June 2008 01:42:01 pm Rene Herman wrote:
> We used to cry "modem" if the device _could_ be configured using a COM
> address while after this change we'd only do so if it _was_ configured
> using one.
>
> My old analog modem for example had 5 dependent sets -- the first with
> the regular COM port addresses (0x3f8, 0x2f8, 0x3e8, 0x2e8) and a 5th
> one listing a port range of (IIRC, something like that at least) 0x100
> to 0xff8.
>
> So say I'd have a PC with the regular two onboard COM ports at COM1 and
> COM2 (0x3f8 and 0x2f8) and an additional serial controller providing
> COM3 and COM4 (0x3e8 and 0x2e8). My modem would then be configured to
> use 0x100 and this code would no longer trigger while it did use to.

Ah, you're right. That scenario hadn't occurred to me. Let me see
if I can figure out a way to make that work again.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/