fix SPARC....
authorAli Saidi <saidi@eecs.umich.edu>
Mon, 4 Jun 2007 16:03:38 +0000 (12:03 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Mon, 4 Jun 2007 16:03:38 +0000 (12:03 -0400)
configs/common/FSConfig.py:
    fix SPARC

--HG--
extra : convert_revision : 34a36c0f626f3fb8a1526ec194a9b0cdae32fed4

configs/common/FSConfig.py

index 8a87c3a6b52b634302e715ed5851729172709725..6bcdafb14ef8c65a2991eba3ff05753571a5bd2e 100644 (file)
@@ -38,14 +38,14 @@ class CowIdeDisk(IdeDisk):
     def childImage(self, ci):
         self.image.child.image_file = ci
 
-class BaseTsunami(Tsunami):
-    ethernet = NSGigE(configdata=NSGigEPciData(),
-                      pci_bus=0, pci_dev=1, pci_func=0)
-    etherint = NSGigEInt(device=Parent.ethernet)
-    ide = IdeController(disks=[Parent.disk0, Parent.disk2],
-                        pci_func=0, pci_dev=0, pci_bus=0)
-
 def makeLinuxAlphaSystem(mem_mode, mdesc = None):
+    class BaseTsunami(Tsunami):
+        ethernet = NSGigE(configdata=NSGigEPciData(),
+                          pci_bus=0, pci_dev=1, pci_func=0)
+        etherint = NSGigEInt(device=Parent.ethernet)
+        ide = IdeController(disks=[Parent.disk0, Parent.disk2],
+                            pci_func=0, pci_dev=0, pci_bus=0)
+
     self = LinuxAlphaSystem()
     if not mdesc:
         # generic system