Author: ae Date: Thu Aug 16 06:45:58 2012 New Revision: 239325 URL: http://svn.freebsd.org/changeset/base/239325
Log: Add comment why the code has been disabled. Requested by: rpaulo Modified: head/sys/boot/common/part.c Modified: head/sys/boot/common/part.c ============================================================================== --- head/sys/boot/common/part.c Thu Aug 16 05:03:59 2012 (r239324) +++ head/sys/boot/common/part.c Thu Aug 16 06:45:58 2012 (r239325) @@ -372,7 +372,7 @@ ptable_ebrread(struct ptable *table, voi if (buf == NULL) return (table); for (i = 0; i < MAXEBRENTRIES; i++) { -#if 0 +#if 0 /* Some BIOSes return an incorrect number of sectors */ if (offset >= table->sectors) break; #endif @@ -665,7 +665,7 @@ ptable_open(void *dev, off_t sectors, ui end = le32toh(dp[i].dp_size); if (start == 0 || end == 0) continue; -#if 0 +#if 0 /* Some BIOSes return an incorrect number of sectors */ if (start + end - 1 >= sectors) continue; /* XXX: ignore */ #endif _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"