1/*- 2 * Copyright (c) 1999,2000 Jonathan Lemon 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/ida/idavar.h 70845 2001-01-09 14:49:41Z jlemon $ |
27 */ 28 29/* 30 * software structures for the Compaq RAID controller 31 */ 32 33#ifndef _IDAVAR_H 34#define _IDAVAR_H --- 144 unchanged lines hidden (view full) --- 179 int secperunit; 180 int flags; 181}; 182 183struct ida_board { 184 u_int32_t board; 185 char *desc; 186 struct ida_access *accessor; |
187 int flags; |
188}; 189 190extern int ida_detach(device_t dev); 191extern struct ida_softc *ida_alloc(device_t dev, struct resource *regs, 192 int regs_type, int regs_id, bus_dma_tag_t parent_dmat); 193extern void ida_free(struct ida_softc *ida); 194extern int ida_init(struct ida_softc *ida); 195extern void ida_attach(struct ida_softc *ida); 196extern int ida_command(struct ida_softc *ida, int command, void *data, 197 int datasize, int drive, int flags); 198extern void ida_submit_buf(struct ida_softc *ida, struct bio *bp); 199extern void ida_intr(void *data); 200 201extern void idad_intr(struct bio *bp); 202 203#endif /* _IDAVAR_H */ |