On Wed, 30 Jun 2004, Geert Uytterhoeven wrote: > > > (maybe a little dramatic) is to remove all static serial port definition > > > and push them into board setup routine. asm/serial.h only needs > > > > I'm not sure that is the right way of doing it -- note that one problem > > is serial drivers can be built as modules and inserted at the run time. > > The same is true for whatever other type of device (SCSI, IDE, Ethernet, ...). Yes and sensible drivers handle it correctly. A classical example is the 8390.c Ethernet driver with its various frontends. > And depending on the order of module loading, the order of the devices will > change. And given the order is fully configurable, it's actually a good thing. Maciej