diff options
Diffstat (limited to 'usr/src/uts/sun4u/io/mach_rootnex.c')
-rw-r--r-- | usr/src/uts/sun4u/io/mach_rootnex.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/usr/src/uts/sun4u/io/mach_rootnex.c b/usr/src/uts/sun4u/io/mach_rootnex.c index 8c0653d84a..b2a7ca8f1d 100644 --- a/usr/src/uts/sun4u/io/mach_rootnex.c +++ b/usr/src/uts/sun4u/io/mach_rootnex.c @@ -22,8 +22,9 @@ * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ - -#pragma ident "%Z%%M% %I% %E% SMI" +/* + * Copyright 2019 Peter Tribble. + */ /* * sun4u root nexus driver @@ -329,13 +330,7 @@ rootnex_name_child_impl(dev_info_t *child, char *name, int namelen) if ((strcmp(node_name, "fhc") == 0) || (strcmp(node_name, "mem-unit") == 0) || (strcmp(node_name, "central") == 0)) { -#ifdef _STARFIRE - portid = ((((rp->regspec_bustype) & 0x6) >> 1) | - (((rp->regspec_bustype) & 0xF0) >> 2) | - (((rp->regspec_bustype) & 0x8) << 3)); -#else portid = (rp->regspec_bustype >> 1) & 0x1f; -#endif /* * The port-id must go on the hardware property list, |