summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/cdrom.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-10-11 22:30:09 +0000
committerobrien <obrien@FreeBSD.org>2002-10-11 22:30:09 +0000
commitc48c3e3e1c8e962ff7bd7da96280a1a2d071282e (patch)
treee0595bfb73138d57a8ad33f40655209e07fd7996 /usr.sbin/sysinstall/cdrom.c
parentedc920d80d67ec9fe56566b02c06a40770fa5303 (diff)
downloadFreeBSD-src-c48c3e3e1c8e962ff7bd7da96280a1a2d071282e.zip
FreeBSD-src-c48c3e3e1c8e962ff7bd7da96280a1a2d071282e.tar.gz
* Negative #if's are harder to read as they don't tell exactly what arch
something applies to. So change #ifndef to an explicit list of defines. * Treate sparc64 and ia64 as 64-bit platforms, which means larger roots. * sparc64 should halt back to the firmware, not reset. * sparc64 doesn't need to play MS-DOS/BIOS partition crap games. Reviewed by: jake
Diffstat (limited to 'usr.sbin/sysinstall/cdrom.c')
-rw-r--r--usr.sbin/sysinstall/cdrom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/cdrom.c b/usr.sbin/sysinstall/cdrom.c
index 3b55be7..d6fd7b8 100644
--- a/usr.sbin/sysinstall/cdrom.c
+++ b/usr.sbin/sysinstall/cdrom.c
@@ -155,6 +155,8 @@ mediaInitCDROM(Device *dev)
if (strcmp(cp, "any") &&
#ifdef __alpha__
strcmp(cp, "alpha")) {
+#elif defined(__sparc64__)
+ strcmp(cp, "sparc64")) {
#else
strcmp(cp, "x86")) {
#endif
OpenPOWER on IntegriCloud