sparc64/75458: Add detection of US-IIIi processor
Gavin Atkinson
gavin.atkinson at ury.york.ac.uk
Fri Dec 24 01:20:02 PST 2004
>Number: 75458
>Category: sparc64
>Synopsis: Add detection of US-IIIi processor
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-sparc64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 24 09:20:02 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Gavin Atkinson
>Release: FreeBSD 6.0-CURRENT sparc64
>Organization:
>Environment:
System: FreeBSD leeloo.york.ac.uk 6.0-CURRENT FreeBSD 6.0-CURRENT #20: Thu Dec 23 13:24:57 GMT 2004 root at leeloo.york.ac.uk:/usr/obj/usr/src/sys/GENERIC sparc64
>Description:
The sparc64 port doesn't detect the US-IIIi processor at the moment.
Even though this is currently unsupported, the ability to detect other processors
in the series already exists.
>How-To-Repeat:
Attempt to boot FreeBSD/sparc64 on (eg) a V240.
>Fix:
--- us3i.diff begins here ---
Index: sys/sparc64/sparc64/identcpu.c
===================================================================
RCS file: /usr/cvs/src/sys/sparc64/sparc64/identcpu.c,v
retrieving revision 1.12
diff -u -r1.12 identcpu.c
--- sys/sparc64/sparc64/identcpu.c 30 Apr 2004 14:04:21 -0000 1.12
+++ sys/sparc64/sparc64/identcpu.c 24 Dec 2004 01:30:13 -0000
@@ -70,6 +70,9 @@
case CPU_IMPL_ULTRASPARCIIIp:
impls = "UltraSparc-III+";
break;
+ case CPU_IMPL_ULTRASPARCIIIi:
+ impls = "UltraSparc-IIIi";
+ break;
default:
impls = NULL;
break;
Index: sys/sparc64/include/ver.h
===================================================================
RCS file: /usr/cvs/src/sys/sparc64/include/ver.h,v
retrieving revision 1.4
diff -u -r1.4 ver.h
--- sys/sparc64/include/ver.h 7 Nov 2002 16:07:46 -0000 1.4
+++ sys/sparc64/include/ver.h 24 Dec 2004 01:30:13 -0000
@@ -69,5 +69,6 @@
#define CPU_IMPL_ULTRASPARCIIe 0x13
#define CPU_IMPL_ULTRASPARCIII 0x14
#define CPU_IMPL_ULTRASPARCIIIp 0x15
+#define CPU_IMPL_ULTRASPARCIIIi 0x16
#endif /* !_MACHINE_VER_H_ */
--- us3i.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-sparc64
mailing list