diff options
author | phk <phk@FreeBSD.org> | 2002-10-26 20:17:59 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-26 20:17:59 +0000 |
commit | fe41e143c1fc5f784733210331c97f6aef357307 (patch) | |
tree | 8eaa2ba47b113bb2d22b388e1c834d81aa427f6d | |
parent | 46eab906451692bc2ec684f548a8d6594c695446 (diff) | |
download | FreeBSD-src-fe41e143c1fc5f784733210331c97f6aef357307.zip FreeBSD-src-fe41e143c1fc5f784733210331c97f6aef357307.tar.gz |
Make geom_mbr.c optional on PC98, use GEOM_MBR option to include it.
Disable check for supposedly magic "IPL1" string for PC98 labels, its
thaumaturgical power is in doubt.
-rw-r--r-- | sys/conf/files.pc98 | 1 | ||||
-rw-r--r-- | sys/geom/geom_pc98.c | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/conf/files.pc98 b/sys/conf/files.pc98 index 2513365..90819a6 100644 --- a/sys/conf/files.pc98 +++ b/sys/conf/files.pc98 @@ -135,7 +135,6 @@ dev/syscons/scterm.c optional sc dev/syscons/scterm-dumb.c optional sc dev/syscons/scvidctl.c optional sc dev/syscons/sysmouse.c optional sc -geom/geom_mbr.c standard geom/geom_bsd.c standard geom/geom_pc98.c standard gnu/i386/fpemul/div_small.s optional gpl_math_emulate \ diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c index 6289e05..f683f31 100644 --- a/sys/geom/geom_pc98.c +++ b/sys/geom/geom_pc98.c @@ -137,9 +137,15 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags) if (buf[0x1fe] != 0x55 || buf[0x1ff] != 0xaa) break; +#if 0 +/* + * XXX: Some sources indicate this is a magic sequence, but appearantly + * XXX: it is not universal. Documentation would be wonderfule to have. + */ if (buf[4] != 'I' || buf[5] != 'P' || buf[6] != 'L' || buf[7] != '1') break; +#endif for (i = 0; i < 16; i++) { v = g_dec_le2(buf + 512 + 10 + i * 32); |