[PATCH] Platform bus support
Pierre Ossman
drzeus-list at drzeus.cx
Tue Sep 27 08:37:00 PDT 2005
Richard Hughes wrote:
>
>Bang on.
>
>[root at localhost hal]# egrep -ir
>"CONFIG_SERIAL_8250_NR_UARTS" /usr/src/kernels/2.6.12-1.1456_FC4-i686/.config
>CONFIG_SERIAL_8250_NR_UARTS=32
>
>This is a kernel oddity I guess. I thought this all went out with the
>MAKEDEV stuff.
>
>
>
The 8250 is still legacy and very enumeration-unfriendly. We'll just
have to hope it goes the way of the dodo.
>In my opinion, HAL has to hide the kernel funnies. Is there any way to
>test if the 8250-derived serial port is actually existing and add this
>logic to HAL? It's madness to add 32 devices that don't actually exist.
>
>
>
>
It would be nice. An ioctl might be the way to go. In any case, hal
should still show all of these for now. We do not want to hide ports
that might actually be there. Excluding ports would be a follow-up patch.
>p.s. is the fact I'm not running a bleeding edge kernel anything to do
>with this?
>
>
>
No, default is still 4. So how you got it to 32 is a mystery. :)
Rgds
Pierre
More information about the hal
mailing list