Created an abstracted SCSI target command handler that dispatches the CDB command to either a CD-ROM or a hard disk depending on the LUN type, and made the BusLogic code use it (will do the same for the AHA-154x code when waltje is done with his current AHA-154x work).
This commit is contained in:
@@ -266,6 +266,8 @@ int scsi_card_get_from_internal_name(char *s);
|
||||
void scsi_card_init();
|
||||
void scsi_card_reset(void);
|
||||
|
||||
void scsi_command(int cdb_len, int lun_type, uint8_t id, uint8_t *cdb);
|
||||
|
||||
extern uint8_t scsi_hard_disks[16][8];
|
||||
|
||||
int scsi_hd_err_stat_to_scsi(uint8_t id);
|
||||
|
||||
Reference in New Issue
Block a user