Subject: xen without pckbd
To: None <port-xen@netbsd.org>
From: Karl Janmar <karl@utopiafoundation.org>
List: port-xen
Date: 06/09/2005 23:20:49
This is a multi-part message in MIME format.
--------------000904090401080506050805
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi,
When I was updating my source for netbsd-3.0-beta a saw a minor patch I
introduced a while ago in my source. I needed to be able to run xen
without a pc keyboard, I hade some problems with the keyboard on my
motherboard with a ATI IXP chipset, but that's another story. Anyway I
needed to apply the following patch to get xen compile without pckbd.
I think this is all.
patch is attached.
Regards,
Karl
--------------000904090401080506050805
Content-Type: text/plain;
name="xen_pckbd.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="xen_pckbd.patch"
Index: arch/xen/x86/consinit.c
===================================================================
RCS file: /cvsroot/src/sys/arch/xen/x86/consinit.c,v
retrieving revision 1.4
diff -u -r1.4 consinit.c
--- arch/xen/x86/consinit.c 9 Mar 2005 22:39:21 -0000 1.4
+++ arch/xen/x86/consinit.c 9 Jun 2005 21:13:36 -0000
@@ -170,8 +170,10 @@
#endif /* CONS_OVERRIDE */
vga_cnattach(X86_BUS_SPACE_IO, X86_BUS_SPACE_MEM,
-1, 1);
+#if NPCCONSKBD > 0
pckbc_cnattach(X86_BUS_SPACE_IO, IO_KBD, KBCMDP,
PCKBC_KBD_SLOT);
+#endif /* NPCCONSKBD */
return;
}
}
--------------000904090401080506050805--