Print this page
2812 FMA generic topology support for AMD family 0x10 model 10
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/topo/modules/i86pc/chip/chip_amd.c
          +++ new/usr/src/lib/fm/topo/modules/i86pc/chip/chip_amd.c
↓ open down ↓ 136 lines elided ↑ open up ↑
 137  137  /*ARGSUSED*/
 138  138  static int
 139  139  amd_generic_mc_create(topo_mod_t *mod, uint16_t smbid, tnode_t *cnode,
 140  140      tnode_t *mcnode, int family, int model, nvlist_t *auth)
 141  141  {
 142  142          int chan, cs;
 143  143  
 144  144          /*
 145  145           * Elsewhere we have already returned for families less than 0xf.
 146  146           * This "generic" topology is adequate for all of family 0xf and
 147      -         * for revisions A to D of family 0x10 (for the list of models
      147 +         * for revisions A to E of family 0x10 (for the list of models
 148  148           * in each revision, refer to usr/src/uts/i86pc/os/cpuid_subr.c).
 149      -         * We cover all family 0x10 models, till model 9.
      149 +         * We cover all family 0x10 models, till model 10.
 150  150           */
 151      -        if (family > 0x10 || (family == 0x10 && model > 9))
      151 +        if (family > 0x10 || (family == 0x10 && model > 10))
 152  152                  return (1);
 153  153  
 154  154          if (topo_node_range_create(mod, mcnode, CHAN_NODE_NAME, 0,
 155  155              MAX_CHANNUM) < 0) {
 156  156                  whinge(mod, NULL, "amd_generic_mc_create: range create for "
 157  157                      "channels failed\n");
 158  158                  return (-1);
 159  159          }
 160  160  
 161  161          for (chan = 0; chan <= MAX_CHANNUM; chan++) {
↓ open down ↓ 689 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX