idavar.h (124540) | idavar.h (125975) |
---|---|
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 124540 2004-01-15 06:37:52Z mdodd $ | 26 * $FreeBSD: head/sys/dev/ida/idavar.h 125975 2004-02-18 21:36:53Z phk $ |
27 */ 28 29/* 30 * software structures for the Compaq RAID controller 31 */ 32 33#ifndef _IDAVAR_H 34#define _IDAVAR_H --- 130 unchanged lines hidden (view full) --- 165/* 166 * drive flags 167 */ 168#define DRV_WRITEPROT 0x0001 169 170struct idad_softc { 171 device_t dev; 172 struct ida_softc *controller; | 27 */ 28 29/* 30 * software structures for the Compaq RAID controller 31 */ 32 33#ifndef _IDAVAR_H 34#define _IDAVAR_H --- 130 unchanged lines hidden (view full) --- 165/* 166 * drive flags 167 */ 168#define DRV_WRITEPROT 0x0001 169 170struct idad_softc { 171 device_t dev; 172 struct ida_softc *controller; |
173 struct disk disk; | 173 struct disk *disk; |
174 int drive; /* per controller */ 175 int unit; /* global */ 176 int cylinders; 177 int heads; 178 int sectors; 179 int secsize; 180 int secperunit; 181 int flags; --- 23 unchanged lines hidden --- | 174 int drive; /* per controller */ 175 int unit; /* global */ 176 int cylinders; 177 int heads; 178 int sectors; 179 int secsize; 180 int secperunit; 181 int flags; --- 23 unchanged lines hidden --- |