Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xen without pckbd
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
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;
}
}
Home |
Main Index |
Thread Index |
Old Index