From: Paul Mackerras <paulus@samba.org>
To: torvalds@transmeta.com, tytso@mit.edu
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] set serial_driver.name_base
Date: Thu, 12 Jul 2001 19:54:17 +1000 (EST) [thread overview]
Message-ID: <15181.29641.394178.784579@tango.paulus.ozlabs.org> (raw)
Linus, Ted,
The following patch sets serial_driver.name_base so that devfs gives
us the correct names for the serial ports when we have a non-zero
SERIAL_DEV_OFFSET (as on powermacs). It will be completely benign in
other situations since SERIAL_DEV_OFFSET is 0 there.
Thanks,
Paul.
diff -urN linux/drivers/char/serial.c linuxppc_2_4/drivers/char/serial.c
--- linux/drivers/char/serial.c Thu Jul 12 16:54:25 2001
+++ linuxppc_2_4/drivers/char/serial.c Tue Jul 10 14:01:04 2001
@@ -5352,6 +5352,7 @@
#endif
serial_driver.major = TTY_MAJOR;
serial_driver.minor_start = 64 + SERIAL_DEV_OFFSET;
+ serial_driver.name_base = SERIAL_DEV_OFFSET;
serial_driver.num = NR_PORTS;
serial_driver.type = TTY_DRIVER_TYPE_SERIAL;
serial_driver.subtype = SERIAL_TYPE_NORMAL;
reply other threads:[~2001-07-12 9:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=15181.29641.394178.784579@tango.paulus.ozlabs.org \
--to=paulus@samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=tytso@mit.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®