]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r220602:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Apr 2011 17:41:17 +0000 (17:41 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Apr 2011 17:41:17 +0000 (17:41 +0000)
commitb33db879b27b87998e2c672a32b97090fde37318
tree0caa136fd6a6d7bd6f2cb178c3690dbf96191154
parent2f1bec0ec13de40ee11bd92baec9ea36faa40a7b
MFC r220602:
Improve SATA Asynchronous Notification feature support in CAM:
 - make SATA SIMs announce capabilities to handle SDB with Notification bit;
 - make PMP driver honor this SIMs capability;
 - make SATA XPT to negotiate and enable this feature for ATAPI devices.

This feature allows supporting SATA ATAPI devices to inform system about
some events happened, that may require attention. In my case this allows
LG GH22LS50 SATA DVR-RW drive to report tray open/close events. Events
reported to CAM in form of AC_SCSI_AEN async. Further they could be used
as a hints for checking device status and reporting media change to upper
layers, for example, via spoiling mechanism of GEOM.

git-svn-id: svn://svn.freebsd.org/base/stable/8@220861 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ata/ata_pmp.c
sys/cam/ata/ata_xpt.c
sys/cam/cam_ccb.h
sys/dev/ahci/ahci.c
sys/dev/mvs/mvs.c
sys/dev/siis/siis.c
sys/sys/ata.h