|
|
1.1 root 1: /*
2: * Copyright (c) 1988 Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution is only permitted until one year after the first shipment
6: * of 4.4BSD by the Regents. Otherwise, redistribution and use in source and
7: * binary forms are permitted provided that: (1) source distributions retain
8: * this entire copyright notice and comment, and (2) distributions including
9: * binaries display the following acknowledgement: This product includes
10: * software developed by the University of California, Berkeley and its
11: * contributors'' in the documentation or other materials provided with the
12: * distribution and in all advertising materials mentioning features or use
13: * of this software. Neither the name of the University nor the names of
14: * its contributors may be used to endorse or promote products derived from
15: * this software without specific prior written permission.
16: * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
17: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
18: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19: *
20: * @(#)saioctl.h 7.4 (Berkeley) 6/28/90
21: */
22:
23: /* ioctl's -- for disks just now */
24: #define SAIOHDR (('d'<<8)|1) /* next i/o includes header */
25: #define SAIOCHECK (('d'<<8)|2) /* next i/o checks data */
26: #define SAIOHCHECK (('d'<<8)|3) /* next i/o checks header & data */
27: #define SAIONOBAD (('d'<<8)|4) /* inhibit bad sector forwarding */
28: #define SAIODOBAD (('d'<<8)|5) /* enable bad sector forwarding */
29: #define SAIOECCLIM (('d'<<8)|6) /* set limit to ecc correction, bits */
30: #define SAIOECCUNL (('d'<<8)|7) /* use standard ecc procedures */
31: #define SAIORETRIES (('d'<<8)|8) /* set retry count for unit */
32: #define SAIODEVDATA (('d'<<8)|9) /* get pointer to pack label */
33: #define SAIOSSI (('d'<<8)|10) /* set skip sector inhibit */
34: #define SAIONOSSI (('d'<<8)|11) /* inhibit skip sector handling */
35: #define SAIOSSDEV (('d'<<8)|12) /* is device skip sector type? */
36: #define SAIODEBUG (('d'<<8)|13) /* enable/disable debugging */
37: #define SAIOGBADINFO (('d'<<8)|14) /* get bad-sector table */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.