Date: Thu, 21 Apr 2011 20:56:34 +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: <201104212056.p3LKuoXY079448@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2011-04-21 20:56:34 UTC FreeBSD src repository Modified files: sys/dev/ata/chipsets ata-intel.c Log: SVN rev 220929 on 2011-04-21 20:56:34Z by mav 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.26 +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?201104212056.p3LKuoXY079448>