4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / sys / stand.att / saioctl.h
CommitLineData
609fb5bc 1/*
80409bdc
KB
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
609fb5bc 4 *
6dc0e27a 5 * %sccs.include.redist.c%
609fb5bc 6 *
80409bdc 7 * @(#)saioctl.h 8.1 (Berkeley) %G%
609fb5bc
KB
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 */
6c6caf90
KB
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 */