PERFORCE change 94488 for review
John-Mark Gurney
jmg at FreeBSD.org
Sun Apr 2 21:15:16 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=94488
Change 94488 by jmg at jmg_arlene on 2006/04/02 21:15:05
add pci and ata to GENERIC so I have an environment I can test
compile in...
add sys/endian.h so it compiles, and relocate hv_pcivar.h into
include by request of kmacy...
Affected files ...
.. //depot/projects/kmacy_sun4v/src/sys/sun4v/conf/GENERIC#6 edit
.. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/hv_pcivar.h#1 branch
.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#13 edit
.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pcivar.h#2 delete
Differences ...
==== //depot/projects/kmacy_sun4v/src/sys/sun4v/conf/GENERIC#6 (text+ko) ====
@@ -71,15 +71,17 @@
# To make an SMP kernel, the next line is needed
#options SMP # Symmetric MultiProcessor Kernel
+device pci
+
# Floppy drives
#device fdc
# ATA and ATAPI devices
-#device ata
-#device atadisk # ATA disk drives
-#device atapicd # ATAPI CDROM drives
-#device atapifd # ATAPI floppy drives
-#device atapist # ATAPI tape drives
+device ata
+device atadisk # ATA disk drives
+device atapicd # ATAPI CDROM drives
+device atapifd # ATAPI floppy drives
+device atapist # ATAPI tape drives
# Do NOT enable ATA_STATIC_ID -- cmd646 controller will be !ata2!,
# and you will not mount an ATA /.
#options ATA_STATIC_ID # Static device numbering
==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#13 (text+ko) ====
@@ -37,6 +37,7 @@
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/pcpu.h>
+#include <sys/endian.h>
#include <dev/pci/pcireg.h>
#include <machine/bus.h>
More information about the p4-projects
mailing list