Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xen and i386 devices



        Currently you cannot build a xen kernel with the following
        devices (among others):

            gcscehci gcscide gcscpcib geodecntr geodegcb
            geodewdog glxsb gscpcib viapcib

        These *could* be moved from sys/arch/i386/conf/files.i386
        to sys/arch/x86/pci/files.pci (sample patch), but would
        it make more sense to split them (along with possibly some
        others) into another file which can be included by i386
        and i386-xen?

Index: sys/arch/i386/conf/files.i386
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/files.i386,v
retrieving revision 1.338.6.2
diff -u -r1.338.6.2 files.i386
--- sys/arch/i386/conf/files.i386       16 Feb 2009 03:03:36 -0000      
1.338.6.2
+++ sys/arch/i386/conf/files.i386       6 Mar 2009 00:32:24 -0000
@@ -182,54 +182,15 @@
 device elanpex
 attach elanpex at elanpexbus

-# AMD Geode CS5535 Companion IDE controller
-device gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common
-attach gcscide at pci
-file   arch/i386/pci/gcscide.c         gcscide
-
-# AMD Geode CS5536 Companion EHCI
-device gcscehci: usbus
-attach gcscehci at pci
-file   arch/i386/pci/gcscehci.c        gcscehci
-
-# AMD Geode SC1100 GCB area
-device  geodegcb {}
-attach geodegcb at pci
-file   arch/i386/pci/geode.c           geodegcb
-
-# AMD Geode SC1100 Watchdog Timer
-device geodewdog: sysmon_wdog, geodegcb
-attach geodewdog at geodegcb
-file   arch/i386/pci/geodewdg.c        geodewdog
-
-# AMD Geode SC1100 high resolution counter
-device geodecntr: geodegcb
-attach  geodecntr at geodegcb
-file   arch/i386/pci/geodecntr.c       geodecntr
-
 # PCI-EISA bridges
 device pceb: eisabus, isabus
 attach pceb at pci
 file   arch/i386/pci/pceb.c            pceb

-# PCI-ISA bridges
-device gscpcib: isabus, gpiobus
-attach gscpcib at pci
-file   arch/i386/pci/gscpcib.c         gscpcib
-
-# AMD Geode CS5535/CS5536 PCI-ISA bridge
-device gcscpcib: isabus, sysmon_wdog, gpiobus
-attach gcscpcib at pci
-file   arch/i386/pci/gcscpcib.c        gcscpcib
-
 device piixpcib: isabus, bioscall
 attach piixpcib at pci
 file   arch/i386/pci/piixpcib.c        piixpcib

-device viapcib: isabus, i2cbus
-attach viapcib at pci
-file   arch/i386/pci/viapcib.c         viapcib
-
 # PCI-MCA bridges
 device pcmb: mcabus
 attach pcmb at pci
@@ -512,10 +473,5 @@
 # AMD PowerNow K7
 file   arch/i386/i386/powernow_k7.c    powernow_k7

-# AMD Geode LX Security Block
-device glxsb: opencrypto
-attach glxsb at pci -file arch/i386/pci/glxsb.c glxsb
-
 include "arch/i386/conf/majors.i386"
 endif #xen
Index: sys/arch/x86/pci/files.pci
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/pci/files.pci,v
retrieving revision 1.7
diff -u -r1.7 files.pci
--- sys/arch/x86/pci/files.pci  3 Aug 2008 19:32:03 -0000       1.7
+++ sys/arch/x86/pci/files.pci  6 Mar 2009 00:32:24 -0000
@@ -38,3 +38,47 @@
 attach hpet at hpetichbus with ichlpcib_hpet

 file   arch/x86/pci/ichlpcib.c         ichlpcib
+
+# AMD Geode LX Security Block
+device  glxsb: opencrypto
+attach  glxsb at pci
+file    arch/i386/pci/glxsb.c           glxsb
+
+# AMD Geode CS5535 Companion IDE controller
+device gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common +attach gcscide at pci +file arch/i386/pci/gcscide.c gcscide + +# AMD Geode CS5536 Companion EHCI
+device  gcscehci: usbus
+attach  gcscehci at pci
+file    arch/i386/pci/gcscehci.c        gcscehci
+ +# AMD Geode SC1100 GCB area
+device  geodegcb {}
+attach  geodegcb at pci
+file    arch/i386/pci/geode.c           geodegcb
+
+# AMD Geode SC1100 Watchdog Timer
+device  geodewdog: sysmon_wdog, geodegcb
+attach  geodewdog at geodegcb
+file    arch/i386/pci/geodewdg.c        geodewdog
+
+# AMD Geode SC1100 high resolution counter
+device  geodecntr: geodegcb
+attach  geodecntr at geodegcb
+file    arch/i386/pci/geodecntr.c       geodecntr
+
+# PCI-ISA bridges
+device gscpcib: isabus, gpiobus
+attach gscpcib at pci
+file   arch/i386/pci/gscpcib.c         gscpcib
+
+# AMD Geode CS5535/CS5536 PCI-ISA bridge
+device gcscpcib: isabus, sysmon_wdog, gpiobus
+attach gcscpcib at pci
+file   arch/i386/pci/gcscpcib.c        gcscpcib
+
+device viapcib: isabus, i2cbus
+attach viapcib at pci
+file   arch/i386/pci/viapcib.c         viapcib


Home | Main Index | Thread Index | Old Index