Update of /cvsroot/linux-vax/kernel-2.4/arch/ia64/dig
In directory usw-pr-cvs1:/tmp/cvs-serv12040/ia64/dig
Modified Files:
setup.c
Log Message:
synch 2.4.15 commit 36
Index: setup.c
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/arch/ia64/dig/setup.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- setup.c 14 Jan 2001 19:48:59 -0000 1.1.1.1
+++ setup.c 10 Apr 2002 14:27:19 -0000 1.2
@@ -1,9 +1,9 @@
/*
- * Platform dependent support for Intel SoftSDV simulator.
+ * Platform dependent support for DIG64 platforms.
*
* Copyright (C) 1999 Intel Corp.
- * Copyright (C) 1999 Hewlett-Packard Co
- * Copyright (C) 1999 David Mosberger-Tang <da...@hp...>
+ * Copyright (C) 1999, 2001 Hewlett-Packard Co
+ * Copyright (C) 1999, 2001 David Mosberger-Tang <da...@hp...>
* Copyright (C) 1999 VA Linux Systems
* Copyright (C) 1999 Walt Drummond <dru...@va...>
* Copyright (C) 1999 Vijay Chander <vi...@en...>
@@ -48,18 +48,14 @@
*/
ROOT_DEV = to_kdev_t(0x0802); /* default to second partition on first drive */
-#ifdef CONFIG_IA64_SOFTSDV_HACKS
- ROOT_DEV = to_kdev_t(0x0302); /* 2nd partion on 1st IDE */
-#endif /* CONFIG_IA64_SOFTSDV_HACKS */
-
#ifdef CONFIG_SMP
init_smp_config();
#endif
memset(&screen_info, 0, sizeof(screen_info));
- if (!ia64_boot_param.console_info.num_rows
- || !ia64_boot_param.console_info.num_cols)
+ if (!ia64_boot_param->console_info.num_rows
+ || !ia64_boot_param->console_info.num_cols)
{
printk("dig_setup: warning: invalid screen-info, guessing 80x25\n");
orig_x = 0;
@@ -68,10 +64,10 @@
num_rows = 25;
font_height = 16;
} else {
- orig_x = ia64_boot_param.console_info.orig_x;
- orig_y = ia64_boot_param.console_info.orig_y;
- num_cols = ia64_boot_param.console_info.num_cols;
- num_rows = ia64_boot_param.console_info.num_rows;
+ orig_x = ia64_boot_param->console_info.orig_x;
+ orig_y = ia64_boot_param->console_info.orig_y;
+ num_cols = ia64_boot_param->console_info.num_cols;
+ num_rows = ia64_boot_param->console_info.num_rows;
font_height = 400 / num_rows;
}
|