diff usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/opl_topo.h @ 3942:c202da1d3c1c

6513538 Need to update ON dictionaries for faults that go from SP to Solaris 6536564 Oberon bus addresses seem to have changed from decimal to hex, breaks IO FMA
author hueston
date Sat, 31 Mar 2007 20:04:53 -0700
parents 46d280f5351d
children
line wrap: on
line diff
--- a/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/opl_topo.h	Sat Mar 31 18:24:05 2007 -0700
+++ b/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/opl_topo.h	Sat Mar 31 20:04:53 2007 -0700
@@ -20,7 +20,7 @@
  */
 
 /*
- * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -61,7 +61,7 @@
 
 /* Macros for manipulating px driver bus address. */
 #define	OPL_PX_DRV	"px"			/* Oberon driver name */
-#define	OPL_PX_STR2BA(s) strtol(s, NULL, 10)	/* Convert ba string to int */
+#define	OPL_PX_STR2BA(s) strtol(s, NULL, 16)	/* Convert ba string to int */
 #define	OPL_PX_LSB(a)	(((a) >> 4) & 0x1f)	/* Extract board from ba */
 #define	OPL_PX_HB(a)	(((a) >> 1) & 0x07)	/* Extract hb from ba */
 #define	OPL_PX_RC(a)	((a) & 0x01)		/* Extract rc from ba */