1 /* 2 * Copyright (c) 1988 Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms are permitted 6 * provided that the above copyright notice and this paragraph are 7 * duplicated in all such forms and that any documentation, 8 * advertising materials, and other materials related to such 9 * distribution and use acknowledge that the software was developed 10 * by the University of California, Berkeley. The name of the 11 * University may not be used to endorse or promote products derived 12 * from this software without specific prior written permission. 13 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 14 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 15 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16 * 17 * @(#)saioctl.h 7.3 (Berkeley) 06/29/88 18 */ 19 20 /* ioctl's -- for disks just now */ 21 #define SAIOHDR (('d'<<8)|1) /* next i/o includes header */ 22 #define SAIOCHECK (('d'<<8)|2) /* next i/o checks data */ 23 #define SAIOHCHECK (('d'<<8)|3) /* next i/o checks header & data */ 24 #define SAIONOBAD (('d'<<8)|4) /* inhibit bad sector forwarding */ 25 #define SAIODOBAD (('d'<<8)|5) /* enable bad sector forwarding */ 26 #define SAIOECCLIM (('d'<<8)|6) /* set limit to ecc correction, bits */ 27 #define SAIOECCUNL (('d'<<8)|7) /* use standard ecc procedures */ 28 #define SAIORETRIES (('d'<<8)|8) /* set retry count for unit */ 29 #define SAIODEVDATA (('d'<<8)|9) /* get pointer to pack label */ 30 #define SAIOSSI (('d'<<8)|10) /* set skip sector inhibit */ 31 #define SAIONOSSI (('d'<<8)|11) /* inhibit skip sector handling */ 32 #define SAIOSSDEV (('d'<<8)|12) /* is device skip sector type? */ 33 #define SAIODEBUG (('d'<<8)|13) /* enable/disable debugging */ 34 #define SAIOGBADINFO (('d'<<8)|14) /* get bad-sector table */ 35