Re: Christmas list for the kernel

From: Jon Smirl
Date: Tue Nov 22 2005 - 18:56:31 EST


On 11/22/05, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> On Maw, 2005-11-22 at 16:41 -0500, Jon Smirl wrote:
> > An example of this is that the serial driver is hard coded to report
> > four legacy serial ports when my system physically only has two. I
> > have to change a #define and recompile the kernel to change this.
>
> It does an autodetect sequence to find the ports. If it reports ttyS0-S3
> your system probably has them, they may just not be wired to external
> ports and that is kinda tricky to autodetect

The ports really aren't there. If we had a driver for the LPC chip it
would see that the chip only implemented two ports. On modern
hardware a driver for LPC/super IO chips might be enough to do all of
the needed legacy detection.


>
> > looks for everything again anyway. In a more friendly system X would
> > use the info the kernel provides and automatically configure itself
> > for the devices present or hotplugged. You could get rid of your
> > xorg.cong file in this model.
>
>
> Not really as half of xorg.conf is preferences
>
>


--
Jon Smirl
jonsmirl@xxxxxxxxx
-
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/