Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2011 03:20:45 +0000 (UTC)
From:      Takahashi Yoshihiro <nyan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r218628 - user/nwhitehorn/bsdinstall/partedit
Message-ID:  <201102130320.p1D3KjUq023980@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nyan
Date: Sun Feb 13 03:20:44 2011
New Revision: 218628
URL: http://svn.freebsd.org/changeset/base/218628

Log:
  Fix pc98 support.
  
  Reviewed by:	nwhitehorn

Modified:
  user/nwhitehorn/bsdinstall/partedit/partedit_pc98.c

Modified: user/nwhitehorn/bsdinstall/partedit/partedit_pc98.c
==============================================================================
--- user/nwhitehorn/bsdinstall/partedit/partedit_pc98.c	Sun Feb 13 00:14:13 2011	(r218627)
+++ user/nwhitehorn/bsdinstall/partedit/partedit_pc98.c	Sun Feb 13 03:20:44 2011	(r218628)
@@ -9,10 +9,10 @@ default_scheme(void) {
 
 int
 is_scheme_bootable(const char *part_type) {
-	if (strcmp(part_type, "PC98") == 0)
-		return (1);
 	if (strcmp(part_type, "BSD") == 0)
 		return (1);
+	if (strcmp(part_type, "PC98") == 0)
+		return (1);
 
 	return (0);
 }
@@ -25,6 +25,8 @@ bootpart_size(const char *part_type) {
 
 const char *
 bootcode_path(const char *part_type) {
+	if (strcmp(part_type, "PC98") == 0)
+		return ("/boot/pc98boot");
 	if (strcmp(part_type, "BSD") == 0)
 		return ("/boot/boot");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102130320.p1D3KjUq023980>