No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / hp700 / dev / ssiovar.h
blob212e4ae7ee0081720127a8c3bf16419c05c0aeff
1 /* $NetBSD$ */
3 /* $OpenBSD: ssiovar.h,v 1.1 2007/06/19 22:51:26 kettenis Exp $ */
5 /*
6 * Copyright (c) 2007 Mark Kettenis
8 * Permission to use, copy, modify, and distribute this software for any
9 * purpose with or without fee is hereby granted, provided that the above
10 * copyright notice and this permission notice appear in all copies.
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 struct ssio_attach_args {
22 const char *saa_name;
23 bus_space_tag_t saa_iot;
24 bus_addr_t saa_iobase;
25 int saa_irq;
28 #define ssiocf_irq cf_loc[0]
29 #define SSIO_UNK_IRQ -1
31 void *ssio_intr_establish(int, int, int (*)(void *), void *, const char *);