Mercurial > hvf > hvf-old
changeset 501:f9fe2cddf9e0
cp: use the operator console dev num & userid from the config file
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Fri, 22 Apr 2011 13:19:39 -0400 |
parents | de574d051887 |
children | d11407b235c3 |
files | cp/drivers/console.c cp/include/config.h |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/cp/drivers/console.c Fri Apr 22 13:19:26 2011 -0400 +++ b/cp/drivers/console.c Fri Apr 22 13:19:39 2011 -0400 @@ -244,7 +244,7 @@ * We only start the operator console */ - dev = find_device_by_ccuu(OPER_CONSOLE_CCUU); + dev = find_device_by_ccuu(sysconf.oper_con); BUG_ON(IS_ERR(dev)); return console_enable(dev);
--- a/cp/include/config.h Fri Apr 22 13:19:26 2011 -0400 +++ b/cp/include/config.h Fri Apr 22 13:19:39 2011 -0400 @@ -18,8 +18,6 @@ */ #define GUEST_IPL_BASE (16ULL * 1024ULL * 1024ULL) -#define OPER_CONSOLE_CCUU 0x0009 - #define CONFIG_LRECL 80 #define CONFIG_FILE_NAME "SYSTEM " #define CONFIG_FILE_TYPE "CONFIG "