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; } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"