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