summaryrefslogtreecommitdiffstats
path: root/sys/dev/microcode/adw/advmcode.h
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2005-09-06 02:18:20 +0000
committerkrw <krw@openbsd.org>2005-09-06 02:18:20 +0000
commit77cb8e8a0edb7a1e94f08e4e0abb2dc1bf9952f6 (patch)
treefb754594958e948d9762d5f0361e113260772936 /sys/dev/microcode/adw/advmcode.h
parentanother round of removing ifdef crud from this driver. (diff)
downloadwireguard-openbsd-77cb8e8a0edb7a1e94f08e4e0abb2dc1bf9952f6.tar.xz
wireguard-openbsd-77cb8e8a0edb7a1e94f08e4e0abb2dc1bf9952f6.zip
First step in moving advmcode* from dev/ic to dev/microcode/adw.
Requested by deraadt@ a while ago.
Diffstat (limited to 'sys/dev/microcode/adw/advmcode.h')
-rw-r--r--sys/dev/microcode/adw/advmcode.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/sys/dev/microcode/adw/advmcode.h b/sys/dev/microcode/adw/advmcode.h
new file mode 100644
index 00000000000..5eedcc2e5fe
--- /dev/null
+++ b/sys/dev/microcode/adw/advmcode.h
@@ -0,0 +1,49 @@
+/* $OpenBSD: advmcode.h,v 1.1 2005/09/06 02:18:20 krw Exp $ */
+/* $NetBSD: advmcode.h,v 1.3 1998/09/26 16:02:57 dante Exp $ */
+
+/*
+ * Generic driver definitions and exported functions for the Advanced
+ * Systems Inc. SCSI controllers
+ *
+ * Copyright (c) 1998 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * Author: Baldassare Dante Profeta <dante@mclink.it>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the NetBSD
+ * Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef ADV_MCODE_H
+#define ADV_MCODE_H
+
+extern const u_int8_t asc_mcode[];
+extern const u_int16_t asc_mcode_size;
+extern const u_int32_t asc_mcode_chksum;
+
+#endif /* ADV_MCODE_H */