freebsd-skq/sys/pc98/pc98
kato 5b1802a644 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
2008-10-27 08:40:13 +00:00
..
busio.s /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
busiosubr.c - Add the i386_memio_map_load() function to load I/O address table. 2008-09-07 04:44:24 +00:00
canbepm.c
canbus_if.m /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
canbus.c Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
canbus.h
canbusvars.h
machdep.c - Add an integer argument to idle to indicate how likely we are to wake 2008-04-25 05:18:50 +00:00
pc98_machdep.c Improved IDE HDD geometry adjustment. Previous code didn't work with 2008-10-27 08:40:13 +00:00
pc98_machdep.h Improved IDE HDD geometry adjustment. Previous code didn't work with 2008-10-27 08:40:13 +00:00