I'm reading the ahci driver and I did not found the h2d_register_fisp issued to 
hba. (ahci_deliver_satapkt  
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/sata/adapters/ahci/ahci.c)
I think h2d_register_fisp or some equivalent is upposed to be issued before 
ahci_deliver_satapkt returns. After all HBA's SActive register is set in this 
function.(I believe ddi_put32(ahci_ctlp->ahcictl_ahci_acc_handle,(uint32_t 
*)AHCI_PORT_PxSACT(ahci_ctlp, port),(0x1 << cmd_slot)); does this, or I made 
mistake?)
So where does this driver issue the FPDMA command to HBA if it's excuting a NCQ 
command?
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to