[parisc-linux] ttyS00 reported twice

Richard Hirst rhirst@linuxcare.com
Sat, 3 Jun 2000 21:42:15 +0100


On Thu, Jun 01, 2000 at 11:04:08PM -0700, Grant Grundler wrote:
> Richard Hirst wrote:
> ...
> > The solution might be to make register_serial() aware of whether rs_init()
> > has yet been called.  If it hasn't, register_serial() just queues the
> > struct_serial that was passed in and returns success.  At the end of
> > rs_init() we call register_serial() again for each item in the queue.
> > This is similar to what happens with the net devices.
> 
> Richard,
> For lack of visible discussion, I'd say just do it.

I have taken a different approach, and made rs_init() call probe_serial_gsc()
after calling probe_serial_pci().  We no longer attempt to register serial
drivers from busdevices_init().  I also removed a few gsc specific hacks
from serial.c, as they don't appear to be necessary any more.

Richard