Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/rge/if_rgevar.h
| Show All 24 Lines | |||||
| #define RGE_UNLOCK(sc) (mtx_unlock(&sc->sc_mtx)) | #define RGE_UNLOCK(sc) (mtx_unlock(&sc->sc_mtx)) | ||||
| #define RGE_ASSERT_LOCKED(sc) (mtx_assert(&sc->sc_mtx, MA_OWNED)) | #define RGE_ASSERT_LOCKED(sc) (mtx_assert(&sc->sc_mtx, MA_OWNED)) | ||||
| #define RGE_ASSERT_UNLOCKED(sc) (mtx_assert(&sc->sc_mtx, MA_NOTOWNED)) | #define RGE_ASSERT_UNLOCKED(sc) (mtx_assert(&sc->sc_mtx, MA_NOTOWNED)) | ||||
| enum rge_mac_type { | enum rge_mac_type { | ||||
| MAC_UNKNOWN = 1, | MAC_UNKNOWN = 1, | ||||
| MAC_R25, | MAC_R25, | ||||
| MAC_R25B, | MAC_R25B, | ||||
| MAC_R25D, | MAC_R25D_1, | ||||
| MAC_R25D_2, | |||||
| MAC_R26_1, | MAC_R26_1, | ||||
| MAC_R26_2, | MAC_R26_2, | ||||
| MAC_R27 | MAC_R27 | ||||
| }; | }; | ||||
| struct rge_drv_stats { | struct rge_drv_stats { | ||||
| /* How many times if_transmit() was called */ | /* How many times if_transmit() was called */ | ||||
| uint64_t transmit_call_cnt; | uint64_t transmit_call_cnt; | ||||
| ▲ Show 20 Lines • Show All 229 Lines • Show Last 20 Lines | |||||