[parisc-linux] ttyS00 reported twice

Grant Grundler grundler@cup.hp.com
Thu, 01 Jun 2000 23:04:08 -0700

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.

For lack of visible discussion, I'd say just do it.

This sounds like a reasonable approach. Error recovery is the only
potential pitfall.