mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Don't mangle geometry for pc98, this will happen in the ata driver.
This commit is contained in:
parent
31cf2a3636
commit
dd0879a966
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107970
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user