Changeset 204 for trunk/src/os2ahci/ioctl.c
- Timestamp:
- Jun 3, 2020, 5:36:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ioctl.c
r198 r204 187 187 ic->iorb.iorbh.RequestControl = IORB_ASYNC_POST; 188 188 ic->iorb.iorbh.Timeout = req->timeout; 189 ic->iorb.iorbh. NotifyAddress = Far16AdrOfIoctlWakeup16;189 ic->iorb.iorbh.f16NotifyAddress = Far16AdrOfIoctlWakeup16; 190 190 191 191 ic->iorb.cSGList = ic->sg_cnt; 192 ic->iorb. pSGList = MemFar16Adr(ic->sg_lst);192 ic->iorb.f16SGList = MemFar16Adr(ic->sg_lst); 193 193 ic->iorb.ppSGLIST = MemPhysAdr(ic->sg_lst); 194 194 195 195 memcpy(ic->cmd, req->cmd.cdb, sizeof(ic->cmd)); 196 196 ic->iorb.ControllerCmdLen = req->cmdlen; 197 ic->iorb. pControllerCmd = MemFar16Adr(ic->cmd);197 ic->iorb.f16ControllerCmd = MemFar16Adr(ic->cmd); 198 198 ic->iorb.Flags = (req->flags & PT_WRITE) ? 0 : PT_DIRECTION_IN; 199 199 … … 203 203 ic->iorb.iorbh.pStatusBlock = CastFar16ToULONG(MemFar16Adr(&ic->ssb)); 204 204 ic->iorb.iorbh.StatusBlockLen = sizeof(ic->ssb); 205 ic->ssb. SenseData= MemFar16Adr(ic->sense);205 ic->ssb.f16SenseData = MemFar16Adr(ic->sense); 206 206 ic->ssb.ReqSenseLen = sizeof(ic->sense); 207 207 ic->iorb.iorbh.RequestControl |= IORB_REQ_STATUSBLOCK;
Note:
See TracChangeset
for help on using the changeset viewer.