Re: parport_serial / serial init order wrong?

From: Russell King (rmk@arm.linux.org.uk)
Date: Mon Aug 05 2002 - 16:58:05 EST


On Mon, Aug 05, 2002 at 11:00:52PM +0200, Marek Michalkiewicz wrote:
> I suspect that the parport_serial driver should be initialized after
> the serial driver, so it can register the detected UARTs properly.
> (I have the necessary drivers compiled into the kernel, no modules.)

You are correct; the same bug just got fixed in the 2.5 series.

> I suspect the NM9835 may be a quite popular chip - any chances of
> making support for it available in 2.4.x kernel series?

Unfortunately its all controlled by the link ordering, and serial is
buried in within drivers/char. Moving it before parport needs some
careful analysis and may very well end up breaking other stuff.

The simple answer for 2.4 may well be to move serial.c into
drivers/serial so it can be ordered into the right place on its own.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

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



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:29 EST