11 STblank =-6, /* blank block */
12 STnomem =-5, /* buffer allocation failed */
13 STtimeout =-4, /* bus timeout */
14 STownid =-3, /* playing with myself */
15 STharderr =-2, /* controller error of some kind */
18 STcheck = 0x02, /* check condition */
19 STcondmet = 0x04, /* condition met/good */
20 STbusy = 0x08, /* busy */
21 STintok = 0x10, /* intermediate/good */
22 STintcondmet = 0x14, /* intermediate/condition met/good */
23 STresconf = 0x18, /* reservation conflict */
24 STterminated = 0x22, /* command terminated */
25 STqfull = 0x28, /* queue full */
28 typedef struct Target {
29 Scsi *sc; /* from openscsi */