From owner-cvs-src-old@FreeBSD.ORG Wed Apr 13 16:21:22 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 853D3106566B for ; Wed, 13 Apr 2011 16:21:22 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 353A68FC18 for ; Wed, 13 Apr 2011 16:21:22 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p3DGLML0059604 for ; Wed, 13 Apr 2011 16:21:22 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3DGLMpK059603 for cvs-src-old@freebsd.org; Wed, 13 Apr 2011 16:21:22 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <201104131621.p3DGLMpK059603@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Wed, 13 Apr 2011 16:20:54 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/cam cam_ccb.h src/sys/cam/ata ata_pmp.c ata_xpt.c src/sys/dev/ahci ahci.c src/sys/dev/mvs mvs.c src/sys/dev/siis siis.c src/sys/sys ata.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 16:21:22 -0000 mav 2011-04-13 16:20:54 UTC FreeBSD src repository Modified files: sys/cam cam_ccb.h sys/cam/ata ata_pmp.c ata_xpt.c sys/dev/ahci ahci.c sys/dev/mvs mvs.c sys/dev/siis siis.c sys/sys ata.h Log: SVN rev 220602 on 2011-04-13 16:20:54Z by mav 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. Revision Changes Path 1.10 +5 -2 src/sys/cam/ata/ata_pmp.c 1.39 +25 -0 src/sys/cam/ata/ata_xpt.c 1.49 +1 -0 src/sys/cam/cam_ccb.h 1.58 +3 -1 src/sys/dev/ahci/ahci.c 1.10 +15 -0 src/sys/dev/mvs/mvs.c 1.39 +5 -0 src/sys/dev/siis/siis.c 1.51 +1 -0 src/sys/sys/ata.h