From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
To: ultralinux@vger.kernel.org
Subject: [PATCH] Fix zs.c serial callout driver
Date: Fri, 05 Jul 2002 12:33:46 +0000 [thread overview]
Message-ID: <marc-linux-ultrasparc-102587243614878@msgid-missing> (raw)
[please CC me for replies, I'm not on this list]
Hello,
this should fix the serial callout driver for the non-devfs case.
I haven't tested it because I have no such hardware.
Thiemo
diff -BurpNX /bigdisk/src/dontdiff source-linux-orig/drivers/sbus/char/zs.c source-linux/drivers/sbus/char/zs.c
--- source-linux-orig/drivers/sbus/char/zs.c Fri Jul 5 08:31:49 2002
+++ source-linux/drivers/sbus/char/zs.c Fri Jul 5 08:55:05 2002
@@ -2406,7 +2414,11 @@ int __init zs_init(void)
* major number and the subtype code.
*/
callout_driver = serial_driver;
+#ifdef CONFIG_DEVFS_FS
callout_driver.name = "cua/%d";
+#else
+ callout_driver.name = "cua";
+#endif
callout_driver.major = TTYAUX_MAJOR;
callout_driver.subtype = SERIAL_TYPE_CALLOUT;
reply other threads:[~2002-07-05 12:33 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=marc-linux-ultrasparc-102587243614878@msgid-missing \
--to=ica2_ts@csv.ica.uni-stuttgart.de \
--cc=ultralinux@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).