Deleted Added
full compact
isp_library.c (164370) isp_library.c (167403)
1/*-
1/*-
2 * Copyright (c) 2006 by Matthew Jacob
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 * notice immediately at the beginning of the file, without modification,
10 * this list of conditions, and the following disclaimer.
11 * 2. The name of the author may not be used to endorse or promote products
12 * derived from this software without specific prior written permission.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
18 * 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 *
2 * Copyright (c) 1997-2007 by Matthew Jacob
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 *
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27/*
28 * Qlogic Host Adapter Internal Library Functions
29 */
30#ifdef __NetBSD__
26 */
27/*
28 * Qlogic Host Adapter Internal Library Functions
29 */
30#ifdef __NetBSD__
31#include <sys/cdefs.h>
32__KERNEL_RCSID(0, "$NetBSD$");
31#include <dev/ic/isp_netbsd.h>
32#endif
33#ifdef __FreeBSD__
34#include <sys/cdefs.h>
33#include <dev/ic/isp_netbsd.h>
34#endif
35#ifdef __FreeBSD__
36#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/dev/isp/isp_library.c 164370 2006-11-18 03:53:16Z mjacob $");
37__FBSDID("$FreeBSD: head/sys/dev/isp/isp_library.c 167403 2007-03-10 02:39:54Z mjacob $");
36#include <dev/isp/isp_freebsd.h>
37#endif
38#ifdef __OpenBSD__
39#include <dev/ic/isp_openbsd.h>
40#endif
41#ifdef __linux__
42#include "isp_linux.h"
43#endif

--- 2856 unchanged lines hidden ---
38#include <dev/isp/isp_freebsd.h>
39#endif
40#ifdef __OpenBSD__
41#include <dev/ic/isp_openbsd.h>
42#endif
43#ifdef __linux__
44#include "isp_linux.h"
45#endif

--- 2856 unchanged lines hidden ---