Annotation of sys/dev/ic/sli.c, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: sli.c,v 1.2 2007/05/19 04:05:40 dlg Exp $ */
2:
3: /*
4: * Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
5: *
6: * Permission to use, copy, modify, and distribute this software for any
7: * purpose with or without fee is hereby granted, provided that the above
8: * copyright notice and this permission notice appear in all copies.
9: *
10: * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11: * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12: * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13: * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14: * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15: * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16: * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17: */
18:
19: #include <sys/param.h>
20: #include <sys/systm.h>
21: #include <sys/buf.h>
22: #include <sys/device.h>
23: #include <sys/proc.h>
24: #include <sys/malloc.h>
25: #include <sys/kernel.h>
26:
27: #include <machine/bus.h>
28:
29: #include <scsi/scsi_all.h>
30: #include <scsi/scsiconf.h>
31:
32: #include <dev/ic/slireg.h>
33: #include <dev/ic/slivar.h>
34:
35: struct cfdriver sli_cd = {
36: NULL, "sli", DV_DULL
37: };
38:
39: int
40: sli_attach(struct sli_softc *sc)
41: {
42: printf("\n");
43:
44: return (0);
45: }
46:
47: int
48: sli_detach(struct sli_softc *sc, int flags)
49: {
50: return (0);
51: }
52:
53: int
54: sli_intr(void *arg)
55: {
56: return (0);
57: }
CVSweb