Date: Fri, 10 Jun 2011 08:58:13 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ahci ahci.c Message-ID: <201106100858.p5A8wYQc072227@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2011-06-10 08:58:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/ahci ahci.c Log: SVN rev 222918 on 2011-06-10 08:58:13Z by mav MFC r222304: Marvell 88SE91xx controllers are known to report soft-reset completion without waiting for device readiness (or at least not updating FIS receive area in time). To workaround that, special quirk was added earlier to wait for the FIS receive area update. But it was found that under same PCI ID 0x91231b4b and revision 0x11 there are two completely different chip versions (firmware?): HBA and RAID. The problem is that RAID version in some cases, such as hot-plug, does not update FIS receive area at all! To workaround that, differentiate the chip versions by their capabilities, and, if RAID version found, skip FIS receive area update waiting and read device signature from the PxSIG register instead. This method doesn't work for HBA version when PMP attached, so keep using previous workaround there. Revision Changes Path 1.1.2.63 +49 -28 src/sys/dev/ahci/ahci.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106100858.p5A8wYQc072227>