1 /*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * 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 5.2 (Berkeley) 01/18/91 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