Announce diagnostic page 7 (Element Descriptor) support.
This commit is contained in:
parent
c11de6f059
commit
aaff3a7331
@ -399,10 +399,11 @@ ahci_em_emulate_ses_on_led(device_t dev, union ccb *ccb)
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user