xref: /titanic_41/usr/src/lib/libbc/libc/sys/common/s5fdio.h (revision 70025d765b044c6d8594bb965a2247a61e991a99)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright (c) 1991 by Sun Microsystems, Inc.
24  */
25 
26 #ifndef _SYS5_FDIO_H
27 #define	_SYS5_FDIO_H
28 
29 #pragma ident	"%Z%%M%	%I%	%E% SMI"
30 
31 #ifdef	__cplusplus
32 extern "C" {
33 #endif
34 
35 /*
36  * Disk io control commands
37  */
38 #define	S5FDIOC			(0x04 << 8)
39 #define	S5FDIOGCHAR		(S5FDIOC|51)		/* GetCharacteristics */
40 #define	S5FDIOSCHAR		(S5FDIOC|52)		/* SetCharacteristics */
41 #define	S5FDEJECT		(S5FDIOC|53)		/* Eject floppy disk */
42 #define	S5FDGETCHANGE		(S5FDIOC|54)		/* Get diskchng stat */
43 #define	S5FDGETDRIVECHAR	(S5FDIOC|55)		/* Get drivechar */
44 #define	S5FDSETDRIVECHAR	(S5FDIOC|56)		/* Set drivechar */
45 #define	S5FDGETSEARCH		(S5FDIOC|57)		/* Get search tbl */
46 #define	S5FDSETSEARCH		(S5FDIOC|58)		/* Set search tbl */
47 #define	S5FDIOCMD		(S5FDIOC|59)		/* Floppy command */
48 #define	S5FDRAW			(S5FDIOC|70)		/* ECDstyle genericcmd*/
49 
50 #ifdef	__cplusplus
51 }
52 #endif
53 
54 #endif	/* _SYS5_FDIO_H */
55