summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mpt_openbsd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2004-03-07 05:08:17 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2004-03-07 05:08:17 +0000
commit56be491ab685db4a0635347daed4cb53683eb132 (patch)
tree6ad859345c2d71212958a33d781fa345ac81a7d8 /sys/dev/ic/mpt_openbsd.h
parent0056c3cd636c501cd8f6bf4df02ae57ec106a909 (diff)
Eliminate bit fields and unused fields in mpt_softc.
Return XS_DRIVER_STUFFUP for all status values we aren't sure of. Mostly from Milos Urbanek.
Diffstat (limited to 'sys/dev/ic/mpt_openbsd.h')
-rw-r--r--sys/dev/ic/mpt_openbsd.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/dev/ic/mpt_openbsd.h b/sys/dev/ic/mpt_openbsd.h
index 44faea16ae5..02da99b464f 100644
--- a/sys/dev/ic/mpt_openbsd.h
+++ b/sys/dev/ic/mpt_openbsd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpt_openbsd.h,v 1.1 2004/03/06 03:03:07 krw Exp $ */
+/* $OpenBSD: mpt_openbsd.h,v 1.2 2004/03/07 05:08:16 krw Exp $ */
/* $NetBSD: mpt_netbsd.h,v 1.2 2003/04/16 23:02:14 thorpej Exp $ */
/*
@@ -193,15 +193,9 @@ typedef struct req_entry {
typedef struct mpt_softc {
struct device mpt_dev; /* base device glue */
- /* Locking context */
- int mpt_splsaved;
- uint32_t mpt_islocked;
-
- int verbose : 3,
- mpt_locksetup : 1,
- is_fc : 1,
- bus : 1,
- : 26;
+ int verbose;
+ int is_fc;
+ int bus;
/* IOC facts */
uint16_t mpt_global_credits;