svn commit: r242719 - head/sys/dev/ahci
Alexander Motin
mav at FreeBSD.org
Wed Nov 7 22:53:47 UTC 2012
Author: mav
Date: Wed Nov 7 22:53:46 2012
New Revision: 242719
URL: http://svnweb.freebsd.org/changeset/base/242719
Log:
Announce diagnostic page 7 (Element Descriptor) support.
Modified:
head/sys/dev/ahci/ahciem.c
Modified: head/sys/dev/ahci/ahciem.c
==============================================================================
--- head/sys/dev/ahci/ahciem.c Wed Nov 7 22:46:30 2012 (r242718)
+++ head/sys/dev/ahci/ahciem.c Wed Nov 7 22:53:46 2012 (r242719)
@@ -399,10 +399,11 @@ ahci_em_emulate_ses_on_led(device_t dev,
ccb->ataio.cmd.sector_count >= 2) {
bzero(buf, ccb->ataio.dxfer_len);
page->hdr.page_code = 0;
- scsi_ulto2b(3, page->hdr.length);
+ scsi_ulto2b(4, page->hdr.length);
buf[4] = 0;
buf[5] = 1;
buf[6] = 2;
+ buf[7] = 7;
ccb->ccb_h.status = CAM_REQ_CMP;
goto out;
}
More information about the svn-src-all
mailing list