summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-12-17 15:50:51 +0000
committerphk <phk@FreeBSD.org>2002-12-17 15:50:51 +0000
commitebfad8464d84b3682dda610b020001446234f295 (patch)
treee1d5916845492972a848db8db26b67fcce13eeb0 /sys
parent080ae8dd84e24a1967ad9a4fcd6e657a844b371d (diff)
downloadFreeBSD-src-ebfad8464d84b3682dda610b020001446234f295.zip
FreeBSD-src-ebfad8464d84b3682dda610b020001446234f295.tar.gz
Don't mangle geometry for pc98, this will happen in the ata driver.
Diffstat (limited to 'sys')
-rw-r--r--sys/geom/geom_pc98.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c
index f55b3a3..19fa752 100644
--- a/sys/geom/geom_pc98.c
+++ b/sys/geom/geom_pc98.c
@@ -189,10 +189,6 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags)
sectorsize = cp->provider->sectorsize;
if (sectorsize < 512)
break;
- if (cp->provider->mediasize / sectorsize < 17 * 8 * 65536) {
- fwsectors = 17;
- fwheads = 8;
- }
gsp->frontstuff = sectorsize * fwsectors;
spercyl = (off_t)fwsectors * fwheads * sectorsize;
buf = g_read_data(cp, 0,
OpenPOWER on IntegriCloud