Date: Mon, 27 Oct 2008 08:40:13 +0000 (UTC) From: KATO Takenori <kato@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/pc98/pc98 pc98_machdep.c pc98_machdep.h Message-ID: <200810270840.m9R8ekdN059789@repoman.freebsd.org>
index | next in thread | raw e-mail
kato 2008-10-27 08:40:13 UTC
FreeBSD src repository
Modified files:
sys/pc98/pc98 pc98_machdep.c pc98_machdep.h
Log:
SVN rev 184327 on 2008-10-27 08:40:13Z by kato
Improved IDE HDD geometry adjustment. Previous code didn't work with
certain ATA-6 drives including CF cards.
The IDE geometry of the PC98 is calculated from the drive capacity.
In addition to the algorithm in NEC BIOS, a variety of algorithms are
provided by 3'rd party boards and BIOS hacks. This change has
implemented the three algorithms: IDE BIOS compatible mode, SCSI BIOS
compatible mode and same way as the previous version. The tunable
machdep.ad_geom_method selects the algorithm.
I have been using this change for a year with CF cards.
Reminded by: nyan
Revision Changes Path
1.29 +97 -7 src/sys/pc98/pc98/pc98_machdep.c
1.15 +15 -0 src/sys/pc98/pc98/pc98_machdep.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810270840.m9R8ekdN059789>
