1 /* 2 * Copyright (c) 1988 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)saioctl.h 7.4 (Berkeley) 06/28/90 8 */ 9 10 /* ioctl's -- for disks just now */ 11 #define SAIOHDR (('d'<<8)|1) /* next i/o includes header */ 12 #define SAIOCHECK (('d'<<8)|2) /* next i/o checks data */ 13 #define SAIOHCHECK (('d'<<8)|3) /* next i/o checks header & data */ 14 #define SAIONOBAD (('d'<<8)|4) /* inhibit bad sector forwarding */ 15 #define SAIODOBAD (('d'<<8)|5) /* enable bad sector forwarding */ 16 #define SAIOECCLIM (('d'<<8)|6) /* set limit to ecc correction, bits */ 17 #define SAIOECCUNL (('d'<<8)|7) /* use standard ecc procedures */ 18 #define SAIORETRIES (('d'<<8)|8) /* set retry count for unit */ 19 #define SAIODEVDATA (('d'<<8)|9) /* get pointer to pack label */ 20 #define SAIOSSI (('d'<<8)|10) /* set skip sector inhibit */ 21 #define SAIONOSSI (('d'<<8)|11) /* inhibit skip sector handling */ 22 #define SAIOSSDEV (('d'<<8)|12) /* is device skip sector type? */ 23 #define SAIODEBUG (('d'<<8)|13) /* enable/disable debugging */ 24 #define SAIOGBADINFO (('d'<<8)|14) /* get bad-sector table */ 25