disk.h revision 1.1.10.2 1 1.1.10.2 skrll /* $NetBSD: disk.h,v 1.1.10.2 2005/11/10 13:55:09 skrll Exp $ */
2 1.1.10.2 skrll
3 1.1.10.2 skrll /*
4 1.1.10.2 skrll * Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author)
5 1.1.10.2 skrll * All rights reserved.
6 1.1.10.2 skrll *
7 1.1.10.2 skrll * Redistribution and use in source and binary forms, with or without
8 1.1.10.2 skrll * modification, are permitted provided that the following conditions
9 1.1.10.2 skrll * are met:
10 1.1.10.2 skrll * 1. Redistributions of source code must retain the above copyright
11 1.1.10.2 skrll * notice, this list of conditions and the following disclaimer.
12 1.1.10.2 skrll * 2. Redistributions in binary form must reproduce the above copyright
13 1.1.10.2 skrll * notice, this list of conditions and the following disclaimer in the
14 1.1.10.2 skrll * documentation and/or other materials provided with the distribution.
15 1.1.10.2 skrll * 3. All advertising materials mentioning features or use of this software
16 1.1.10.2 skrll * must display the following acknowledgement:
17 1.1.10.2 skrll * This product includes software developed by Jonathan Stone for
18 1.1.10.2 skrll * the NetBSD Project.
19 1.1.10.2 skrll * 4. The name of the author may not be used to endorse or promote products
20 1.1.10.2 skrll * derived from this software without specific prior written permission.
21 1.1.10.2 skrll *
22 1.1.10.2 skrll * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
23 1.1.10.2 skrll * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 1.1.10.2 skrll * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 1.1.10.2 skrll * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
26 1.1.10.2 skrll * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 1.1.10.2 skrll * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 1.1.10.2 skrll * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 1.1.10.2 skrll * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 1.1.10.2 skrll * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 1.1.10.2 skrll * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 1.1.10.2 skrll * SUCH DAMAGE.
33 1.1.10.2 skrll */
34 1.1.10.2 skrll
35 1.1.10.2 skrll int diskstrategy(void *, int, daddr_t, size_t, void *, size_t *);
36 1.1.10.2 skrll int diskopen(struct open_file *, ...);
37 1.1.10.2 skrll int diskclose(struct open_file *);
38 1.1.10.2 skrll int diskioctl(struct open_file *, u_long, void *);
39