xref: /original-bsd/sys/i386/include/dkio.h (revision 3705696b)
1 /*-
2  * Copyright (c) 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * William Jolitz.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)dkio.h	8.1 (Berkeley) 06/11/93
11  */
12 
13 /*
14  * Structures and definitions for disk io control commands
15  *
16  * THIS WHOLE AREA NEEDS MORE THOUGHT.  FOR NOW JUST IMPLEMENT
17  * ENOUGH TO READ AND WRITE HEADERS ON MASSBUS DISKS.  EVENTUALLY
18  * SHOULD BE ABLE TO DETERMINE DRIVE TYPE AND DO OTHER GOOD STUFF.
19  */
20 
21 /* disk io control commands */
22 #define DKIOCHDR	_IO(d, 1)	/* next I/O will read/write header */
23