Changeset 112 for trunk/src/os2ahci/atapi.c
- Timestamp:
- Jul 6, 2011, 10:02:47 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/atapi.c
r111 r112 162 162 cdb.cmd = ATAPI_CMD_READ_12; 163 163 SET_CDB_32(cdb.lba, io->RBA + io->BlocksXferred); 164 SET_CDB_32(cdb.trans_len, 1 );164 SET_CDB_32(cdb.trans_len, 1UL); 165 165 166 166 /* allocate transfer buffer */ … … 340 340 ATAPI_SENSE_DATA *psd = (ATAPI_SENSE_DATA *) aws->buf; 341 341 342 dphex(psd, sizeof(*psd), TRACE_MINOR_SENSE_BUF,"sense buffer:\n");342 dphex(psd, sizeof(*psd), "sense buffer:\n"); 343 343 344 344 if ((iorb->RequestControl & IORB_REQ_STATUSBLOCK) && … … 443 443 tmp = GET_CDB_24(cmd_in + 1) & 0x1fffffUL; 444 444 SET_CDB_32(p12->lba, tmp); 445 SET_CDB_32(p12->trans_len, cmd_in[4]);445 SET_CDB_32(p12->trans_len, (u32)(cmd_in[4])); 446 446 p12->control = cmd_in[5]; 447 447 break;
Note:
See TracChangeset
for help on using the changeset viewer.