Date: Fri, 10 Jun 2011 08:32:33 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ata/chipsets ata-intel.c Message-ID: <201106100832.p5A8WlqD058640@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2011-06-10 08:32:33 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/ata/chipsets ata-intel.c
Log:
SVN rev 222915 on 2011-06-10 08:32:33Z by mav
MFC r220929:
According to ATA specifications, when ATAPI master is the only device, it
should respond with all zeroes to any access to slave registers. Test with
PATA devices confirmed such behavior. Unluckily, Intel SATA controllers in
legacy emulation mode behave differently, not making any difference between
ATA and ATAPI devices. It causes false positive slave device detection and,
as result, command timeouts.
To workaround this problem, mask result of legacy-emulated soft-reset with
the device presence information received from the SATA-specific registers.
Revision Changes Path
1.7.2.19 +21 -11 src/sys/dev/ata/chipsets/ata-intel.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106100832.p5A8WlqD058640>
