Re: [patch 2/2] 8250_pnp: register x86 COM ports at the conventionalttyS names

From: H. Peter Anvin
Date: Fri Jan 18 2008 - 13:21:17 EST


Rene Herman wrote:

The number of places expected to contain something sensible should I believe first be verified at 0x410 -- the equipment word. Bits 11-9 (0x0e00) should be the number of serial ports, 0 to 4 (so 5-7 is also a sanity check) and if BIOSes can be expected to zero out the non-used base-addresses (at 0x400, 0x402, 0x404, 0x406) that's another sanity check. Don't know if they can though...


Probably not. However, the ports marked valid should be nonzero and aligned-8.

-hpa

--
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/