| 2282 | } |
| 2283 | |
| 2284 | int blkdev_execute_audio_command(int unitnum, uae_u8 *cdb, int cdblen, uae_u8 *inbuf, int inlen, uae_u8 *sense, int *senselen) |
| 2285 | { |
| 2286 | int len = inlen; |
| 2287 | uae_u8 reply[256]; |
| 2288 | int replylen = sizeof(reply); |
| 2289 | int status = scsi_cd_emulate(unitnum, cdb, cdblen, inbuf, &len, reply, &replylen, sense, senselen, true); |
| 2290 | if (status) |
| 2291 | return -1; |
| 2292 | return len; |
| 2293 | } |
| 2294 | |
| 2295 | static int execscsicmd_direct (int unitnum, int type, struct amigascsi *as) |
| 2296 | { |
nothing calls this directly
no test coverage detected