Synchronize with sys/i386/isa/diskslice_machdep.c revision 1.26.

This commit is contained in:
kato 1997-09-28 05:52:51 +00:00
parent f052508469
commit 7890a25c74
2 changed files with 14 additions and 10 deletions

View File

@ -35,7 +35,7 @@
*
* from: @(#)ufs_disksubr.c 7.16 (Berkeley) 5/4/91
* from: ufs_disksubr.c,v 1.8 1994/06/07 01:21:39 phk Exp $
* $Id: atcompat_diskslice.c,v 1.5 1997/02/22 09:43:31 peter Exp $
* $Id: atcompat_diskslice.c,v 1.6 1997/04/20 05:16:05 kato Exp $
*/
/*
@ -224,6 +224,7 @@ reread_mbr:
sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE, RAW_PART,
partname);
if (cp[0x1FE] != 0x55 || cp[0x1FF] != 0xAA) {
if (bootverbose)
printf("%s: invalid primary partition table: no magic\n",
sname);
error = EINVAL;
@ -419,6 +420,7 @@ atcompat_extended(dname, dev, strat, lp, ssp, ext_offset, ext_size,
if (cp[0x1FE] != 0x55 || cp[0x1FF] != 0xAA) {
sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE, RAW_PART,
partname);
if (bootverbose)
printf("%s: invalid extended partition table: no magic\n",
sname);
goto done;

View File

@ -35,7 +35,7 @@
*
* from: @(#)ufs_disksubr.c 7.16 (Berkeley) 5/4/91
* from: ufs_disksubr.c,v 1.8 1994/06/07 01:21:39 phk Exp $
* $Id: diskslice_machdep.c,v 1.8 1997/02/22 09:43:33 peter Exp $
* $Id: diskslice_machdep.c,v 1.9 1997/04/20 05:16:06 kato Exp $
*/
/*
@ -275,6 +275,7 @@ reread_mbr:
sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE, RAW_PART,
partname);
if (cp[0x1FE] != 0x55 || cp[0x1FF] != 0xAA) {
if (bootverbose)
printf("%s: invalid primary partition table: no magic\n",
sname);
error = EINVAL;
@ -578,6 +579,7 @@ extended(dname, dev, strat, lp, ssp, ext_offset, ext_size, base_ext_offset,
if (cp[0x1FE] != 0x55 || cp[0x1FF] != 0xAA) {
sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE, RAW_PART,
partname);
if (bootverbose)
printf("%s: invalid extended partition table: no magic\n",
sname);
goto done;