lkml.org 
[lkml]   [2008]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 16 Jan 2008 15:42:08 -0500
From"H. Peter Anvin" <>
SubjectRe: [patch 2/2] 8250_pnp: register x86 COM ports at the conventional ttyS names
Bodo Eggert wrote:
>
> BTW1: These addresses may be used to detect ports on non-standard addresses,
> but unfortunately they don't tell the IRQ.
>
> BTW2: When I submitted a patch using the BIOS data area, I was told that it
> might not exist on systems booting from non-PC firmware. This claim was not
> yet backed with any knowledge, nor did anybody suggest a way to detect this
> situation.
>

This is, of course, true. It doesn't exactly help that some (most?)
non-PC firmware at least mimic the BIOS data area.

In this particular case, there is some minor sanity-checking that can be
done: the values should be nonzero and aligned 8.

-hpa


\
 
 \ /
  Last update: 2008-01-16 21:57    [from the cache]
©2003-2010