PS2SDK
PS2 Homebrew Libraries
scsi.h
1 #ifndef _SCSI_H
2 #define _SCSI_H
3 
5 {
6  void *priv;
7  char *name;
8  // cppcheck-suppress unusedStructMember
9  unsigned int devNr;
10  unsigned int max_sectors;
11 
12  int (*get_max_lun)(struct scsi_interface *scsi);
13  int (*queue_cmd)(struct scsi_interface *scsi, const unsigned char *cmd, unsigned int cmd_len, unsigned char *data, unsigned int data_len, unsigned int data_wr);
14 };
15 
16 extern int scsi_init(void);
17 extern void scsi_connect(struct scsi_interface *scsi);
18 extern void scsi_disconnect(struct scsi_interface *scsi);
19 
20 #endif
scsi_interface
Definition: scsi.h:4