From: Alex Williamson <alex.williamson@hp.com>
To: Keir.Fraser@cl.cam.ac.uk
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] name the xencons driver
Date: Tue, 13 Dec 2005 15:16:33 -0700 [thread overview]
Message-ID: <1134512193.12848.18.camel@localhost> (raw)
Keir,
Here's one other trivial patch for the xen console that I noticed.
The current driver doesn't set it's driver_name field. This results in
an "unknown" driver when you cat /proc/tty/drivers. We might was well
give it a name. I have no attachment to "xencons" if you'd like to
change it to something else. Thanks,
Alex
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---
diff -r 0255f48b757f linux-2.6-xen-sparse/drivers/xen/console/console.c
--- a/linux-2.6-xen-sparse/drivers/xen/console/console.c Sun Dec 4 19:12:00 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/console/console.c Tue Dec 13 15:05:01 2005
@@ -628,6 +630,7 @@
if (xencons_driver == NULL)
return -ENOMEM;
+ DRV(xencons_driver)->driver_name = "xencons";
DRV(xencons_driver)->major = TTY_MAJOR;
DRV(xencons_driver)->type = TTY_DRIVER_TYPE_SERIAL;
DRV(xencons_driver)->subtype = SERIAL_TYPE_NORMAL;
reply other threads:[~2005-12-13 22:16 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=1134512193.12848.18.camel@localhost \
--to=alex.williamson@hp.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/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.