diff options
Diffstat (limited to 'sys-kernel/xen-sources/files')
-rw-r--r-- | sys-kernel/xen-sources/files/digest-xen-sources-2.6.20 | 9 | ||||
-rw-r--r-- | sys-kernel/xen-sources/files/xen-sources-2.6.20-console-tty-fix.patch | 75 |
2 files changed, 0 insertions, 84 deletions
diff --git a/sys-kernel/xen-sources/files/digest-xen-sources-2.6.20 b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.20 deleted file mode 100644 index db69966..0000000 --- a/sys-kernel/xen-sources/files/digest-xen-sources-2.6.20 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 93b2bfd84674f010ada4aa31ad4898ce genpatches-2.6.20-13.base.tar.bz2 114313 -RMD160 e6d41f0e15444f17cfbae55499ea2f079a7913ce genpatches-2.6.20-13.base.tar.bz2 114313 -SHA256 51eb630e880c693c1a2bcc31451d4e8b3c1c2b0b3cc2dad1a7130322197b733f genpatches-2.6.20-13.base.tar.bz2 114313 -MD5 34b0f354819217e6a345f48ebbd8f13e linux-2.6.20.tar.bz2 43375937 -RMD160 14657ade7be4363143dbd5593f5710d21eda7a03 linux-2.6.20.tar.bz2 43375937 -SHA256 2c14ada1ac7d272e03b430d3a530d60fc9ec69cc8252382aa049afba7d2b8558 linux-2.6.20.tar.bz2 43375937 -MD5 ebd2150d1472918c8eeb024b05fa6d85 patch-2.6.20_to_xen-3.1.0-fc7-2925.bz2 518262 -RMD160 11bcbed63afe74d118772cd3b6200b7ed639dc59 patch-2.6.20_to_xen-3.1.0-fc7-2925.bz2 518262 -SHA256 abcdb5ba2dc7d1f3172434e3e244fac4b64fc7d281819b1e475da31470d4ca47 patch-2.6.20_to_xen-3.1.0-fc7-2925.bz2 518262 diff --git a/sys-kernel/xen-sources/files/xen-sources-2.6.20-console-tty-fix.patch b/sys-kernel/xen-sources/files/xen-sources-2.6.20-console-tty-fix.patch deleted file mode 100644 index 72a90a8..0000000 --- a/sys-kernel/xen-sources/files/xen-sources-2.6.20-console-tty-fix.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -rup linux-2.6.20-xen.orig/drivers/char/tty_io.c linux-2.6.20-xen/drivers/char/tty_io.c ---- linux-2.6.20-xen.orig/drivers/char/tty_io.c 2007-07-16 11:14:52.000000000 -0700 -+++ linux-2.6.20-xen/drivers/char/tty_io.c 2007-07-16 15:57:19.000000000 -0700 -@@ -133,6 +133,8 @@ LIST_HEAD(tty_drivers); /* linked list - DEFINE_MUTEX(tty_mutex); - EXPORT_SYMBOL(tty_mutex); - -+int console_use_vt = 1; -+ - #ifdef CONFIG_UNIX98_PTYS - extern struct tty_driver *ptm_driver; /* Unix98 pty masters; for /dev/ptmx */ - extern int pty_limit; /* Config limit on Unix98 ptys */ -@@ -2518,7 +2520,7 @@ retry_open: - goto got_driver; - } - #ifdef CONFIG_VT -- if (device == MKDEV(TTY_MAJOR,0)) { -+ if (console_use_vt && (device == MKDEV(TTY_MAJOR,0))) { - extern struct tty_driver *console_driver; - driver = console_driver; - index = fg_console; -@@ -3910,6 +3912,8 @@ static int __init tty_init(void) - #endif - - #ifdef CONFIG_VT -+ if (!console_use_vt) -+ goto out_vt; - cdev_init(&vc0_cdev, &console_fops); - if (cdev_add(&vc0_cdev, MKDEV(TTY_MAJOR, 0), 1) || - register_chrdev_region(MKDEV(TTY_MAJOR, 0), 1, "/dev/vc/0") < 0) -@@ -3917,6 +3921,7 @@ static int __init tty_init(void) - device_create(tty_class, NULL, MKDEV(TTY_MAJOR, 0), "tty0"); - - vty_init(); -+ out_vt: - #endif - return 0; - } -diff -rup linux-2.6.20-xen.orig/drivers/xen/console/console.c linux-2.6.20-xen/drivers/xen/console/console.c ---- linux-2.6.20-xen.orig/drivers/xen/console/console.c 2007-07-16 11:14:52.000000000 -0700 -+++ linux-2.6.20-xen/drivers/xen/console/console.c 2007-07-16 16:02:26.000000000 -0700 -@@ -86,23 +86,30 @@ static unsigned long sysrq_requested; - - void xencons_early_setup(void) - { -- if (is_initial_xendomain()) -+ extern int console_use_vt; -+ -+ if (is_initial_xendomain()) { - xc_mode = XC_SERIAL; -- else -- xc_mode = XC_XVC; -+ } else { -+ xc_mode = XC_TTY; -+ console_use_vt = 0; -+ } - } - - static int __init xencons_setup(char *str) - { - char *q; - int n; -+ extern int console_use_vt; - -+ console_use_vt = 1; - if (!strncmp(str, "ttyS", 4)) { - xc_mode = XC_SERIAL; - str += 4; - } else if (!strncmp(str, "tty", 3)) { - xc_mode = XC_TTY; - str += 3; -+ console_use_vt = 0; - } else if (!strncmp(str, "xvc", 3)) { - xc_mode = XC_XVC; - str += 3; |