Hi,
I make a patch to use serial console without setting bootparameter on PQ.
I change the intel_tiger_console_setup(),
but should I add a function for PRIMEQUEST?
Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
---
diff -r 56caf0e37e6a xen/arch/ia64/linux-xen/setup.c
--- a/xen/arch/ia64/linux-xen/setup.c Mon Mar 26 10:10:31 2007 -0600
+++ b/xen/arch/ia64/linux-xen/setup.c Thu Apr 05 12:01:40 2007 +0900
@@ -316,7 +316,7 @@ io_port_init (void)
#ifdef XEN
static int __init
-intel_tiger_console_setup(void)
+machine_console_setup(void)
{
extern struct ns16550_defaults ns16550_com1;
efi_system_table_t *systab;
@@ -352,9 +352,19 @@ intel_tiger_console_setup(void)
if (strncmp(hdr->signature, XSDT_SIG, sizeof(XSDT_SIG) - 1))
return -ENODEV;
-
/*
- * Only looking for Intel Tiger systems
+ * looking for Fujitsu PRIMEQUEST systems
+ */
+ if (!strncmp(hdr->oem_id, "FUJITSPQ", 8) &&
+ (!strncmp(hdr->oem_table_id, "PQ", 2))){
+ ns16550_com1.baud = BAUD_AUTO;
+ ns16550_com1.io_base = 0x3f8;
+ ns16550_com1.irq = 48;
+ return 0;
+ }
+
+ /*
+ * looking for Intel Tiger systems
* Tiger 2: SR870BH2
* Tiger 4: SR870BN4
*/
@@ -402,7 +412,7 @@ early_console_setup (char *cmdline)
#endif
#ifdef XEN
- if (!intel_tiger_console_setup())
+ if (!machine_console_setup())
earlycons++;
#endif
return (earlycons) ? 0 : -1;
Best Regards,
Akio Takebe
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|