msahci FIS->Reserved3...

I see that in sample code of msahci, function io.c::IRBtoATA_CFIS () does not set the CFIS.Reserved3 to any value. Is this value obtained from some field in the SRB/CDB/Irp that is sent by the class driver to the port driver? Thank you.

I’m guessing this is because it is not used. However it looks a lot
like a bug to me, considering that the other two reservedN fields are
explicitly set to zero.

Mark Roddy

On Mon, Feb 28, 2011 at 8:27 PM, wrote:
> I see that in sample code of msahci, function io.c::IRBtoATA_CFIS () does not set the CFIS.Reserved3 to any value. Is this value obtained from some field in the SRB/CDB/Irp that is sent by the class driver to the port driver? Thank you.
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>

Thank you Mark. BTW do you know if by there is any field in SRB/CDB/IRP that I can set (in a lower disk filter/port filter driver) which gets propagated to FIS->Request3 field when the request reaches the ATA drive?

You’ve seen the MSAHCI code… It is exclusively responsible for mapping IRB to FIS. If you don’t see it in the ahci code, it isn’t done.

Peter
OSR