All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] ttyS00 reported twice
@ 2000-05-31 15:41 Richard Hirst
  2000-06-02  6:04 ` Grant Grundler
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Hirst @ 2000-05-31 15:41 UTC (permalink / raw)
  To: parisc-linux

There was some discussion on irc yesterday about bootup messages reporting
something like:

Found serial #0 at 0xf0823000, IRQ 538
ttyS00 at iomem 0xf0823800 (irq = 538) is a 16550A
Found serial #1 at 0xf0822000, IRQ 537
ttyS00 at iomem 0xf0822800 (irq = 537) is a 16550A

i.e. both ports reported as ttyS00.  This seems to be a consequence of us
calling register_serial() before rs_init() is called.  In addition there
is a chunk of initialisation in rs_init() that is #ifndef CONFIG_GSC;
that would need to be enabled so that rs_table[].line is initialised,
before we would report ttyS01.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-06-10  3:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-31 15:41 [parisc-linux] ttyS00 reported twice Richard Hirst
2000-06-02  6:04 ` Grant Grundler
2000-06-03 20:42   ` Richard Hirst
2000-06-09 16:30   ` [parisc-linux] Bootable CD image Paulius Pazera
2000-06-09 23:01     ` Matt Taggart
2000-06-10  3:44       ` Phil Schwan
2000-06-10  3:57     ` T. Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.