summaryrefslogtreecommitdiffstats
path: root/sys/dev/digi/digi.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-05-08 07:55:33 +0000
committerbrian <brian@FreeBSD.org>2001-05-08 07:55:33 +0000
commitb824fbe47c8163384ff2c1dac26ce3fdeab77aca (patch)
treef722856d174f6b63a19d395e52f942d645988342 /sys/dev/digi/digi.h
parentd8ef9cc3b5b9f5e2ab6ca2d6250d97259e791511 (diff)
downloadFreeBSD-src-b824fbe47c8163384ff2c1dac26ce3fdeab77aca.zip
FreeBSD-src-b824fbe47c8163384ff2c1dac26ce3fdeab77aca.tar.gz
Remove all the mutex stuff - suggested by jhb
Tidy up includes, credit Slawa Olhovchenkov, John Prince and Eric Hernes for their efforts and add a couple of missing parenthesis around return expressions.
Diffstat (limited to 'sys/dev/digi/digi.h')
-rw-r--r--sys/dev/digi/digi.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/digi/digi.h b/sys/dev/digi/digi.h
index f59f2af..b4ed14f 100644
--- a/sys/dev/digi/digi.h
+++ b/sys/dev/digi/digi.h
@@ -37,10 +37,6 @@
#define CE_NTYPES 3
#define CE_RECORD(com, errnum) (++(com)->delta_error_counts[errnum])
-#ifdef SMP
-#define DIGI_LOCK_INTR
-#endif
-
/*#define DIGI_INTERRUPT*/
#ifndef DEBUG
@@ -196,9 +192,6 @@ struct digi_softc {
u_char *(*setwin)(struct digi_softc *_sc, unsigned _addr);
void (*hidewin)(struct digi_softc *_sc);
void (*towin)(struct digi_softc *_sc, int _win);
-#ifdef DIGI_LOCK_INTR
- struct mtx intr_mutex[1];
-#endif
#ifdef DEBUG
int intr_count;
#endif
OpenPOWER on IntegriCloud