summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mpivar.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-09-10 07:00:57 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-09-10 07:00:57 +0000
commit2dd934c537b8101da0cb472584f8dedd02ab04ff (patch)
tree830fcad4b7c1a210aa947afe6a46eada8ef7f9f8 /sys/dev/ic/mpivar.h
parent63a05ea837ed7d3e3b1527603352006f3207e601 (diff)
implement handling of rescan events on fc controllers. allows "hotplug" of
fc devices.
Diffstat (limited to 'sys/dev/ic/mpivar.h')
-rw-r--r--sys/dev/ic/mpivar.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/mpivar.h b/sys/dev/ic/mpivar.h
index eed69bfe6e5..bc9875ff2c4 100644
--- a/sys/dev/ic/mpivar.h
+++ b/sys/dev/ic/mpivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpivar.h,v 1.32 2010/07/06 07:18:18 dlg Exp $ */
+/* $OpenBSD: mpivar.h,v 1.33 2010/09/10 07:00:56 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -136,6 +136,10 @@ struct mpi_softc {
struct mpi_ccb *sc_evt_ccb;
struct scsi_iohandler sc_evt_ack;
+ struct workq_task sc_evt_rescan;
+ struct mutex sc_evt_rescan_mtx;
+ u_int sc_evt_rescan_sem;
+
size_t sc_fw_len;
struct mpi_dmamem *sc_fw;