Changeset 87 for trunk/src/os2ahci/atapi.c
- Timestamp:
- Apr 29, 2011, 11:21:36 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/atapi.c
r82 r87 2 2 * atapi.c - ATAPI command processing 3 3 * 4 * Copyright (c) 2010 Christian Mueller, Markus Thielen. 5 * Parts copied from/inspired by the Linux AHCI driver; 4 * Copyright (c) 2011 thi.guten Software Development 5 * Copyright (c) 2011 Mensys B.V. 6 * 7 * Authors: Christian Mueller, Markus Thielen 8 * 9 * Parts copied from/inspired by the Linux AHCI driver; 6 10 * those parts are (c) Linux AHCI/ATA maintainers 7 11 * … … 105 109 } 106 110 } while (rc > 0 && sg_cnt > 0); 107 111 108 112 if (rc == 0) { 109 113 add_workspace(iorb)->blocks = count; … … 180 184 iorb_seterr(iorb, IOERR_DEVICE_NONSPECIFIC); 181 185 } 182 186 183 187 return(rc); 184 188 } … … 234 238 pcdb->cmd = ATAPI_CMD_REQUEST_SENSE; 235 239 pcdb->trans_len = (u8) sense_buf_len; 236 240 237 241 aws->ppfunc = atapi_req_sense_pp; 238 242 rc = ata_cmd(ad_infos + iorb_unit_adapter(iorb), … … 327 331 iorb_seterr(iorb, IOERR_CMD_ABORTED); 328 332 break; 329 333 330 334 default: 331 335 iorb_seterr(iorb, IOERR_DEVICE_NONSPECIFIC); … … 344 348 * returns 0 on success, != 0 if the command can't be converted. 345 349 */ 346 int atapi_pad_cdb(u8 _far *cmd_in, u16 cmd_in_len, 350 int atapi_pad_cdb(u8 _far *cmd_in, u16 cmd_in_len, 347 351 u8 _far *cmd_out, u16 _far *cmd_out_len) 348 352 {
Note:
See TracChangeset
for help on using the changeset viewer.