|
|
1.1 root 1: #include <stdio.h>
2: #include "../scsi.h"
3: #include "../scsish.h"
4: #include "../tcl.h"
5: #include "fns.h"
6:
7: int
8: sony_set(ClientData cd, Tcl_Interp *it, int argc, char **argv)
9: {
10: struct scsi_cmd cmd;
11: struct scsi_return ret;
12: int i;
13:
14: if(argc < 3)
15: USAGE_RETURN
16: if((i = shelfside(argv[1], cd->err)) < 0)
17: return(1);
18: set6(cmd, 0xD6, atoi(argv[2])<<5, 0, i, 0, 0);
19: if(s_io(0, &cmd, 0, &ret, 0, cd->err))
20: ERR_RETURN
21: return(0);
22: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.