diff options
Diffstat (limited to 'sys/pci/if_stereg.h')
-rw-r--r-- | sys/pci/if_stereg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_stereg.h b/sys/pci/if_stereg.h index 5c1f8ff..99295ac 100644 --- a/sys/pci/if_stereg.h +++ b/sys/pci/if_stereg.h @@ -530,6 +530,7 @@ struct ste_softc { #define STE_LOCK(_sc) mtx_lock(&(_sc)->ste_mtx) #define STE_UNLOCK(_sc) mtx_unlock(&(_sc)->ste_mtx) +#define STE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->ste_mtx, MA_OWNED) struct ste_mii_frame { u_int8_t mii_stdelim; |