Deleted Added
full compact
idavar.h (60938) idavar.h (63934)
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 *
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 60938 2000-05-26 02:09:24Z jake $
26 * $FreeBSD: head/sys/dev/ida/idavar.h 63934 2000-07-27 22:24:44Z jlemon $
27 */
28
29/*
30 * software structures for the Compaq RAID controller
31 */
32
33#ifndef _IDAVAR_H
34#define _IDAVAR_H

--- 79 unchanged lines hidden (view full) ---

114 bus_addr_t (*done)(struct ida_softc *);
115 int (*int_pending)(struct ida_softc *);
116 void (*int_enable)(struct ida_softc *, int);
117};
118
119/*
120 * flags for the controller
121 */
27 */
28
29/*
30 * software structures for the Compaq RAID controller
31 */
32
33#ifndef _IDAVAR_H
34#define _IDAVAR_H

--- 79 unchanged lines hidden (view full) ---

114 bus_addr_t (*done)(struct ida_softc *);
115 int (*int_pending)(struct ida_softc *);
116 void (*int_enable)(struct ida_softc *, int);
117};
118
119/*
120 * flags for the controller
121 */
122#define IDA_ATTACHED 0x01 /* attached, interrupts okay */
122#define IDA_ATTACHED 0x01 /* attached, interrupts okay */
123#define IDA_FIRMWARE 0x02 /* firmware must be started */
123
124struct ida_softc {
125 device_t dev;
126 int unit;
127
128 int regs_res_type;
129 int regs_res_id;
130 struct resource *regs;

--- 33 unchanged lines hidden (view full) ---

164 */
165#define DRV_WRITEPROT 0x0001
166
167struct idad_softc {
168 device_t dev;
169 struct ida_softc *controller;
170 struct disk disk;
171 struct devstat stats;
124
125struct ida_softc {
126 device_t dev;
127 int unit;
128
129 int regs_res_type;
130 int regs_res_id;
131 struct resource *regs;

--- 33 unchanged lines hidden (view full) ---

165 */
166#define DRV_WRITEPROT 0x0001
167
168struct idad_softc {
169 device_t dev;
170 struct ida_softc *controller;
171 struct disk disk;
172 struct devstat stats;
172 int unit;
173 int drive; /* per controller */
174 int unit; /* global */
173 int cylinders;
174 int heads;
175 int sectors;
176 int secsize;
177 int secperunit;
178 int flags;
179};
180

--- 20 unchanged lines hidden ---
175 int cylinders;
176 int heads;
177 int sectors;
178 int secsize;
179 int secperunit;
180 int flags;
181};
182

--- 20 unchanged lines hidden ---