changeset 5057:816fab2599c3

6603942 fmtopo -v should show NAC names pciex slots instead of other strings
author willard
date Sat, 15 Sep 2007 09:46:21 -0700
parents 61acf2c76fd6
children 97ac9f0ef0f9
files usr/src/lib/fm/topo/modules/sun4v/pcibus/pci_sun4v.h
diffstat 1 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/lib/fm/topo/modules/sun4v/pcibus/pci_sun4v.h	Sat Sep 15 07:49:43 2007 -0700
+++ b/usr/src/lib/fm/topo/modules/sun4v/pcibus/pci_sun4v.h	Sat Sep 15 09:46:21 2007 -0700
@@ -59,6 +59,16 @@
 	{   5, "MB/RISER2/PCIE5" }
 };
 
+physnm_t netra_t5220_pnms[] = {
+	/* Slot #, Label */
+	{   0, "MB/RISER0/PCIE0" },
+	{   1, "MB/RISER1/PCIE1" },
+	{   2, "MB/RISER2/PCIE2" },
+	{   3, "MB/PCI_MEZZ/PCIE3" },
+	{   4, "MB/PCI_MEZZ/PCIX1" },
+	{   5, "MB/PCI_MEZZ/PCIX2" }
+};
+
 pphysnm_t plat_pnames[] = {
 	{ "Sun-Fire-T200",
 	    sizeof (t200_pnms) / sizeof (physnm_t),
@@ -78,7 +88,10 @@
 	    t5120_pnms },
 	{ "T5240",
 	    sizeof (t5220_pnms) / sizeof (physnm_t),
-	    t5220_pnms }
+	    t5220_pnms },
+	{ "Netra-T5220",
+	    sizeof (netra_t5220_pnms) / sizeof (physnm_t),
+	    netra_t5220_pnms }
 };
 
 physlot_names_t PhyslotNMs = {
@@ -107,6 +120,9 @@
 	    NULL },
 	{ "T5240",
 	    0,
+	    NULL },
+	{ "Netra-T5220",
+	    0,
 	    NULL }
 };