6815264 Chip enumerator should build an appropriate generic memory topology on Shanghai
authorSrihari Venkatesan <Srihari.Venkatesan@Sun.COM>
Wed, 25 Mar 2009 23:03:38 -0700
changeset 9174 95e019d75c03
parent 9173 c56bf270a144
child 9175 3d80e1dd8316
6815264 Chip enumerator should build an appropriate generic memory topology on Shanghai
usr/src/lib/fm/topo/modules/i86pc/chip/chip_amd.c
--- a/usr/src/lib/fm/topo/modules/i86pc/chip/chip_amd.c	Thu Mar 26 13:23:16 2009 +0800
+++ b/usr/src/lib/fm/topo/modules/i86pc/chip/chip_amd.c	Wed Mar 25 23:03:38 2009 -0700
@@ -20,7 +20,7 @@
  */
 
 /*
- * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -133,10 +133,11 @@
 	/*
 	 * Elsewhere we have already returned for families less than 0xf.
 	 * This "generic" topology is adequate for all of family 0xf and
-	 * for revisions A, B and C of family 0x10 (A = model 0, B = model 1,
-	 * we'll guess C = model 3 at this point).
+	 * for revisions A, B and C of family 0x10 (for the list of models
+	 * in each revision, refer to usr/src/uts/i86pc/os/cpuid_subr.c).
+	 * We cover all family 0x10 models, till model 6.
 	 */
-	if (family > 0x10 || (family == 0x10 && model > 3))
+	if (family > 0x10 || (family == 0x10 && model > 6))
 		return (1);
 
 	if (topo_node_range_create(mod, mcnode, CHAN_NODE_NAME, 0,