xref: /csrg-svn/sys/stand.att/saioctl.h (revision 63370)
133628Sbostic /*
2*63370Sbostic  * Copyright (c) 1988, 1993
3*63370Sbostic  *	The Regents of the University of California.  All rights reserved.
433628Sbostic  *
544518Sbostic  * %sccs.include.redist.c%
633628Sbostic  *
7*63370Sbostic  *	@(#)saioctl.h	8.1 (Berkeley) 06/11/93
833628Sbostic  */
933628Sbostic 
1033628Sbostic /* ioctl's -- for disks just now */
1133628Sbostic #define	SAIOHDR		(('d'<<8)|1)	/* next i/o includes header */
1233628Sbostic #define	SAIOCHECK	(('d'<<8)|2)	/* next i/o checks data */
1333628Sbostic #define	SAIOHCHECK	(('d'<<8)|3)	/* next i/o checks header & data */
1433628Sbostic #define	SAIONOBAD	(('d'<<8)|4)	/* inhibit bad sector forwarding */
1533628Sbostic #define	SAIODOBAD	(('d'<<8)|5)	/* enable bad sector forwarding */
1633628Sbostic #define	SAIOECCLIM	(('d'<<8)|6)	/* set limit to ecc correction, bits */
1733629Sbostic #define	SAIOECCUNL	(('d'<<8)|7)	/* use standard ecc procedures */
1833629Sbostic #define	SAIORETRIES	(('d'<<8)|8)	/* set retry count for unit */
1933629Sbostic #define	SAIODEVDATA	(('d'<<8)|9)	/* get pointer to pack label */
2033629Sbostic #define	SAIOSSI		(('d'<<8)|10)	/* set skip sector inhibit */
2133629Sbostic #define	SAIONOSSI	(('d'<<8)|11)	/* inhibit skip sector handling */
2233629Sbostic #define	SAIOSSDEV	(('d'<<8)|12)	/* is device skip sector type? */
2333629Sbostic #define	SAIODEBUG	(('d'<<8)|13)	/* enable/disable debugging */
2433629Sbostic #define	SAIOGBADINFO	(('d'<<8)|14)	/* get bad-sector table */
25