aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp/isp_library.c
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2006-07-16 20:11:50 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2006-07-16 20:11:50 +0000
commit799881e09403555d725cc00f72619e310f89a0ee (patch)
treeb6d3899027d728cf144aed227e8e02413efd7dd0 /sys/dev/isp/isp_library.c
parentca23ff19875cfd836b2f7fc06833c232a8691c7f (diff)
downloadsrc-799881e09403555d725cc00f72619e310f89a0ee.tar.gz
src-799881e09403555d725cc00f72619e310f89a0ee.zip
Some rearrangement of headers to minimize diffs with outside of
FreeBSD repository and to clean up the license header so as to not pollute the license with file function. Zero all mailbox structures prior to use (just in case). Change the outgoing mailbox count for INIT_FIRMWARE to be correct.
Notes
Notes: svn path=/head/; revision=160410
Diffstat (limited to 'sys/dev/isp/isp_library.c')
-rw-r--r--sys/dev/isp/isp_library.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/isp/isp_library.c b/sys/dev/isp/isp_library.c
index caabc84ed5e4..192ae49d2e03 100644
--- a/sys/dev/isp/isp_library.c
+++ b/sys/dev/isp/isp_library.c
@@ -1,6 +1,4 @@
/*-
- * Qlogic Host Adapter Internal Library Functions
- *
* Copyright (c) 1999-2006 by Matthew Jacob
* All rights reserved.
*
@@ -26,15 +24,15 @@
* SUCH DAMAGE.
*
*/
-#ifdef __FreeBSD__
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-#endif
-
+/*
+ * Qlogic Host Adapter Internal Library Functions
+ */
#ifdef __NetBSD__
#include <dev/ic/isp_netbsd.h>
#endif
#ifdef __FreeBSD__
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <dev/isp/isp_freebsd.h>
#endif
#ifdef __OpenBSD__