]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If flag 0x4000 (Sleephack) is defined, assume that the disk is sleeping
authorPoul-Henning Kamp <phk@FreeBSD.org>
Thu, 3 Apr 1997 09:43:50 +0000 (09:43 +0000)
committerPoul-Henning Kamp <phk@FreeBSD.org>
Thu, 3 Apr 1997 09:43:50 +0000 (09:43 +0000)
commit8520e7cbc1c74887ef634e1af7c57fdc54c4f159
treea42c3e633f7dfe4ea7a616b10f61d1185370fcc4
parent9751c109988bbb825567e626cb5df1748c052fd2
If flag 0x4000 (Sleephack) is defined, assume that the disk is sleeping
if all registers are 0xff.

This allows me to run with flags 0xc0ff on my IBM-DMCA-21440 disk, which
gives 5MB/sec sequential read :-)

If you have a laptop, try adding flag 0x4000 to your disk, and tell me if
it makes any difference for you.
sys/i386/isa/wd.c