From: "David S. Miller" <davem@davemloft.net>
To: sparclinux@vger.kernel.org
Subject: Re: circular console list in 2.6.9-bk3+
Date: Fri, 19 Nov 2004 03:00:07 +0000 [thread overview]
Message-ID: <20041118190007.286f7dcc.davem@davemloft.net> (raw)
In-Reply-To: <20041118144142.GG2268@holomorphy.com>
This should do the trick. Just do the console init
before we add the ports.
=== drivers/serial/sunsab.c 1.35 vs edited ==--- 1.35/drivers/serial/sunsab.c 2004-08-26 15:38:22 -07:00
+++ edited/drivers/serial/sunsab.c 2004-11-18 18:49:39 -08:00
@@ -1125,13 +1125,13 @@
sunserial_current_minor += num_channels;
+ sunsab_console_init();
+
for (i = 0; i < num_channels; i++) {
struct uart_sunsab_port *up = &sunsab_ports[i];
uart_add_one_port(&sunsab_reg, &up->port);
}
-
- sunsab_console_init();
return 0;
}
=== drivers/serial/sunsu.c 1.46 vs edited ==--- 1.46/drivers/serial/sunsu.c 2004-10-31 13:33:17 -08:00
+++ edited/drivers/serial/sunsu.c 2004-11-18 18:49:22 -08:00
@@ -1532,6 +1532,7 @@
if (ret < 0)
return ret;
+ sunsu_serial_console_init();
for (i = 0; i < UART_NR; i++) {
struct uart_sunsu_port *up = &sunsu_ports[i];
@@ -1704,7 +1705,6 @@
* Console must be initiated after the generic initialization.
*/
sunsu_serial_init();
- sunsu_serial_console_init();
return 0;
}
=== drivers/serial/sunzilog.c 1.47 vs edited ==--- 1.47/drivers/serial/sunzilog.c 2004-11-09 16:39:13 -08:00
+++ edited/drivers/serial/sunzilog.c 2004-11-18 18:49:02 -08:00
@@ -1690,6 +1690,7 @@
ret = uart_register_driver(&sunzilog_reg);
if (ret = 0) {
+ sunzilog_console_init();
for (i = 0; i < NUM_CHANNELS; i++) {
struct uart_sunzilog_port *up = &sunzilog_port_table[i];
@@ -1738,7 +1739,6 @@
sunzilog_alloc_tables();
sunzilog_ports_init();
- sunzilog_console_init();
return 0;
}
next prev parent reply other threads:[~2004-11-19 3:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-18 14:41 circular console list in 2.6.9-bk3+ William Lee Irwin III
2004-11-18 22:36 ` David S. Miller
2004-11-19 0:59 ` William Lee Irwin III
2004-11-19 1:06 ` William Lee Irwin III
2004-11-19 3:00 ` David S. Miller [this message]
2004-11-20 10:04 ` William Lee Irwin III
2004-11-20 20:06 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041118190007.286f7dcc.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.