All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix zs.c serial callout driver
@ 2002-07-05 12:33 Thiemo Seufer
  0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2002-07-05 12:33 UTC (permalink / raw)
  To: ultralinux

[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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-05 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-05 12:33 [PATCH] Fix zs.c serial callout driver Thiemo Seufer

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.