Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern revert previous; the problem was off by one in the ...



details:   https://anonhg.NetBSD.org/src/rev/129e23d1c971
branches:  trunk
changeset: 780154:129e23d1c971
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jul 13 16:15:48 2012 +0000

description:
revert previous; the problem was off by one in the bios device comparison
in x86_autoconf.c

diffstat:

 sys/kern/subr_disk_mbr.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r e8eb64a5c961 -r 129e23d1c971 sys/kern/subr_disk_mbr.c
--- a/sys/kern/subr_disk_mbr.c  Fri Jul 13 13:51:09 2012 +0000
+++ b/sys/kern/subr_disk_mbr.c  Fri Jul 13 16:15:48 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_disk_mbr.c,v 1.43 2012/07/03 13:03:47 christos Exp $      */
+/*     $NetBSD: subr_disk_mbr.c,v 1.44 2012/07/13 16:15:48 christos Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_disk_mbr.c,v 1.43 2012/07/03 13:03:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_disk_mbr.c,v 1.44 2012/07/13 16:15:48 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -364,11 +364,9 @@
                a->lp->d_partitions[0].p_size   = a->lp->d_secperunit;
                a->lp->d_partitions[0].p_cdsession = is_iso9660;
                a->lp->d_partitions[0].p_fstype = FS_ISO9660;
-#ifdef notyet
        } else {
                a->lp->d_partitions[0].p_size   = 0;
                a->lp->d_partitions[0].p_fstype = FS_UNUSED;
-#endif
        }
 
        /* add udf partition if found */



Home | Main Index | Thread Index | Old Index