summaryrefslogtreecommitdiffstats
path: root/sys/dev/my/if_myreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/my/if_myreg.h')
-rw-r--r--sys/dev/my/if_myreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/my/if_myreg.h b/sys/dev/my/if_myreg.h
index 7e65fda..a552de5 100644
--- a/sys/dev/my/if_myreg.h
+++ b/sys/dev/my/if_myreg.h
@@ -369,7 +369,6 @@ struct my_softc {
struct my_list_data *my_ldata;
struct my_chain_data my_cdata;
device_t my_miibus;
- struct callout_handle my_stat_ch;
/* Add by Surfer 2001/12/2 */
struct mtx my_mtx;
@@ -378,6 +377,7 @@ struct my_softc {
/* Add by Surfer 2001/12/2 */
#define MY_LOCK(_sc) mtx_lock(&(_sc)->my_mtx)
#define MY_UNLOCK(_sc) mtx_unlock(&(_sc)->my_mtx)
+#define MY_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->my_mtx, MA_OWNED)
/*
* register space access macros
OpenPOWER on IntegriCloud