ida.c (112367) | ida.c (112946) |
---|---|
1/*- 2 * Copyright (c) 1999,2000 Jonathan Lemon 3 * All rights reserved. 4 * 5 # Derived from the original IDA Compaq RAID driver, which is 6 * Copyright (c) 1996, 1997, 1998, 1999 7 * Mark Dawson and David James. All rights reserved. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * | 1/*- 2 * Copyright (c) 1999,2000 Jonathan Lemon 3 * All rights reserved. 4 * 5 # Derived from the original IDA Compaq RAID driver, which is 6 * Copyright (c) 1996, 1997, 1998, 1999 7 * Mark Dawson and David James. All rights reserved. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * |
30 * $FreeBSD: head/sys/dev/ida/ida.c 112367 2003-03-18 08:45:25Z phk $ | 30 * $FreeBSD: head/sys/dev/ida/ida.c 112946 2003-04-01 15:06:26Z phk $ |
31 */ 32 33/* 34 * Generic driver for Compaq SMART RAID adapters. 35 * 36 * Specific probe routines are in: 37 * pci/ida_pci.c 38 * i386/eisa/ida_eisa.c 39 */ 40 41#include <sys/param.h> 42#include <sys/kernel.h> 43#include <sys/systm.h> 44#include <sys/malloc.h> 45 46#include <sys/bio.h> 47#include <sys/bus.h> 48#include <sys/conf.h> | 31 */ 32 33/* 34 * Generic driver for Compaq SMART RAID adapters. 35 * 36 * Specific probe routines are in: 37 * pci/ida_pci.c 38 * i386/eisa/ida_eisa.c 39 */ 40 41#include <sys/param.h> 42#include <sys/kernel.h> 43#include <sys/systm.h> 44#include <sys/malloc.h> 45 46#include <sys/bio.h> 47#include <sys/bus.h> 48#include <sys/conf.h> |
49#include <sys/disk.h> | |
50 51#include <machine/bus_memio.h> 52#include <machine/bus_pio.h> 53#include <machine/bus.h> 54#include <sys/rman.h> 55 | 49 50#include <machine/bus_memio.h> 51#include <machine/bus_pio.h> 52#include <machine/bus.h> 53#include <sys/rman.h> 54 |
55#include <geom/geom_disk.h> 56 |
|
56#include <dev/ida/idareg.h> 57#include <dev/ida/idavar.h> 58 59/* prototypes */ 60static void ida_alloc_qcb(struct ida_softc *ida); 61static void ida_construct_qcb(struct ida_softc *ida); 62static void ida_start(struct ida_softc *ida); 63static void ida_done(struct ida_softc *ida, struct ida_qcb *qcb); --- 471 unchanged lines hidden --- | 57#include <dev/ida/idareg.h> 58#include <dev/ida/idavar.h> 59 60/* prototypes */ 61static void ida_alloc_qcb(struct ida_softc *ida); 62static void ida_construct_qcb(struct ida_softc *ida); 63static void ida_start(struct ida_softc *ida); 64static void ida_done(struct ida_softc *ida, struct ida_qcb *qcb); --- 471 unchanged lines hidden --- |