Loading...
iokit/KernelConfigTables.cpp xnu-344.49 xnu-201.19
--- xnu/xnu-344.49/iokit/KernelConfigTables.cpp
+++ xnu/xnu-201.19/iokit/KernelConfigTables.cpp
@@ -3,22 +3,19 @@
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
+ * The contents of this file constitute Original Code as defined in and
+ * are subject to the Apple Public Source License Version 1.1 (the
+ * "License").  You may not use this file except in compliance with the
+ * License.  Please obtain a copy of the License at
+ * http://www.apple.com/publicsource and read it before using this file.
  * 
- * This file contains Original Code and/or Modifications of Original Code
- * as defined in and that are subject to the Apple Public Source License
- * Version 2.0 (the 'License'). You may not use this file except in
- * compliance with the License. Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this
- * file.
- * 
- * The Original Code and all software distributed under the License are
- * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * This Original Code and all software distributed under the License are
+ * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
- * Please see the License for the specific language governing rights and
- * limitations under the License.
+ * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
+ * License for the specific language governing rights and limitations
+ * under the License.
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
@@ -31,16 +28,13 @@
  */
 const char * gIOKernelKmods =
 "{
-    'com.apple.kernel'                         = '6.8';
-    'com.apple.kernel.bsd'                     = '6.8';
-    'com.apple.kernel.iokit'                   = '6.8';
-    'com.apple.kernel.libkern'                 = '6.8';
-    'com.apple.kernel.mach'                    = '6.8';
-    'com.apple.iokit.IOADBFamily'              = '6.8';
-    'com.apple.iokit.IONVRAMFamily'            = '6.8';
-    'com.apple.iokit.IOSystemManagementFamily' = '6.8';
-    'com.apple.iokit.ApplePlatformFamily'      = '6.8';
-    'com.apple.driver.AppleNMI'                = '6.8';
+    'com.apple.kernel'                         = '5.3';
+    'com.apple.kernel.bsd'                     = '5.3';
+    'com.apple.kernel.iokit'                   = '5.3';
+    'com.apple.kernel.libkern'                 = '5.3';
+    'com.apple.kernel.mach'                    = '5.3';
+    'com.apple.iokit.IOADBFamily'              = '1.1';
+    'com.apple.iokit.IOSystemManagementFamily' = '1.1';
 }";
 
 
@@ -60,20 +54,105 @@
         'IONameMatch'		= 'cpu';
 	'IOProbeScore'		= 100:32;
     },
+"
+#if 0
+"
+    {
+        'IOClass'		= PowerSurgePE;
+        'IOProviderClass'	= IOPlatformExpertDevice;
+        'IONameMatch'		= ('AAPL,7300', 'AAPL,7500', 'AAPL,8500', 'AAPL,9500');
+        'IOProbeScore'		= 10000:32;
+    },
+"
+#endif
+"
+"
+#if 0
+"
+    {
+        'IOClass'		= PowerStarPE;
+        'IOProviderClass'	= IOPlatformExpertDevice;
+        'IONameMatch'		= ('AAPL,3400/2400', 'AAPL,3500');
+        'IOProbeScore'		= 10000:32;
+    },
+"
+#endif
+"
+    {
+        'IOClass'		= GossamerPE;
+        'IOProviderClass'	= IOPlatformExpertDevice;
+	'IONameMatch'		= ('AAPL,Gossamer', 'AAPL,PowerMac G3', 'AAPL,PowerBook1998', 'iMac,1', 'PowerMac1,1', 'PowerMac1,2', 'PowerBook1,1');
+	'IOProbeScore'		= 10000:32;
+    },
+    {
+	'IOClass'		= GossamerCPU;
+	'IOProviderClass'	= IOPlatformDevice;
+        'IONameMatch'		= 'cpu';
+	'IOProbeScore'		= 1000:32;
+    },
+"
+#if 0
+"
+    {
+        'IOClass'         	= PowerExpressPE;
+        'IOProviderClass'	= IOPlatformExpertDevice;
+	'IONameMatch'		= 'AAPL,9700';
+	'IOProbeScore'		= 10000:32;
+	'senses'		= <00000000 00000000 00000000 00000000 "
+                                  "00000000 00000000 00000000 00000000 "
+                                  "00000000 00000000 00000000 00000000 "
+                                  "00000000 00000000 00000000 00000000 "
+                                  "00000000 00000000 00000000 00000000 "
+                                  "00000000 00000000 00000000 00000000 "
+                                  "00000000 00000000 00000001 00000001 "
+                                  "00000001 00000001 00000001 00000001 "
+                                  "00000001 00000001 00000001 00000001 "
+                                  "00000001 00000001>;
+    },
+"
+#endif
+#if 0
+"
+    {
+        'IOClass'		= GrandCentral;
+        'IOProviderClass'	= IOPCIDevice;
+        'IONameMatch'		= gc;
+	'IOProbeScore'		= 2000:32;
+    },
+"
+#endif
+"
+    {
+        'IOClass'		= OHare;
+        'IOProviderClass'	= IOPCIDevice;
+        'IONameMatch'		= ('ohare', 'pci106b,7');
+    },
     {
         'IOClass'              = AppleNMI;
         'IOProviderClass'      = AppleMacIODevice;
         'IONameMatch'          = 'programmer-switch';
     },
     {
+        'IOClass'		= AppleCuda;
+        'IOProviderClass'	= AppleVIADevice;
+        'IONameMatch'		= cuda;
+    },"
+#if 0
+" {
+        'IOClass'		= ApplePMU;
+        'IOProviderClass'	= AppleVIADevice;
+        'IONameMatch'		= pmu;
+    },"
+#endif
+    "{   
+        'IOClass'               = IOPMUADBController;
+        'IOProviderClass'       = AppleMacIODevice;
+        'IONameMatch'           = adb;
+    }, 
+    {
         'IOClass'		= AppleNVRAM;
         'IOProviderClass'	= AppleMacIODevice;
         'IONameMatch'		= nvram;
-    }, 
-    {   
-        'IOClass'               = IOPMUADBController;
-        'IOProviderClass'       = AppleMacIODevice;
-        'IONameMatch'           = adb;
     }
 "
 #endif /* PPC */
@@ -108,6 +187,18 @@
        'IOClass'           = AppleIntelClock;
        'IOProviderClass'   = IOPlatformDevice;
        'IONameMatch'       = intel-clock;
+    },
+    {
+       'IOClass'           = AppleATAPIIX;
+       'IOProviderClass'   = IOPCIDevice;
+       'IOPCIMatch'        = '0x12308086 0x70108086 0x71118086 0x24118086 0x24218086 0x244a8086 0x244b8086';
+       'IOMatchCategory'   = AppleATAPIIXChannel0;
+    },
+    {
+       'IOClass'           = AppleATAPIIX;
+       'IOProviderClass'   = IOPCIDevice;
+       'IOPCIMatch'        = '0x12308086 0x70108086 0x71118086 0x24118086 0x24218086 0x244a8086 0x244b8086';
+       'IOMatchCategory'   = AppleATAPIIXChannel1;
     }
 "
 #endif /* i386 */