summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-07-09 13:29:31 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-07-09 13:29:31 +0000
commit3a3a5de63daf83aed90cb73e5d4fd6f7710e187c (patch)
tree209f0a72af0ac276907f42b525bb29f8ba6c2540 /sys
parent1a054b237e8df0d76b0edc5733cf03590f431801 (diff)
missed a bit of the fw upload stuff
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/mpireg.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ic/mpireg.h b/sys/dev/ic/mpireg.h
index b3639230607..33a1a3122f8 100644
--- a/sys/dev/ic/mpireg.h
+++ b/sys/dev/ic/mpireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpireg.h,v 1.27 2006/07/06 10:52:58 dlg Exp $ */
+/* $OpenBSD: mpireg.h,v 1.28 2006/07/09 13:29:30 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -602,6 +602,12 @@ struct mpi_msg_event_reply {
struct mpi_msg_fwupload_request {
u_int8_t image_type;
+#define MPI_FWUPLOAD_IMAGETYPE_IOC_FW (0x00)
+#define MPI_FWUPLOAD_IMAGETYPE_NV_FW (0x01)
+#define MPI_FWUPLOAD_IMAGETYPE_MPI_NV_FW (0x02)
+#define MPI_FWUPLOAD_IMAGETYPE_NV_DATA (0x03)
+#define MPI_FWUPLOAD_IMAGETYPE_BOOT (0x04)
+#define MPI_FWUPLOAD_IMAGETYPE_NV_BACKUP (0x05)
u_int8_t reserved1;
u_int8_t chain_offset;
u_int8_t function;