freebsd-skq/sys/dev/sfxge
arybchik 87718641a6 sfxge(4): unify power of 2 alignment check macro
Substitute driver-defined IS_P2ALIGNED() with EFX_IS_P2ALIGNED()
defined in libefx.

Add type argument and cast value and alignment to one specified type.

Reported by:    Andrea Valsania <andrea.valsania at answervad.it>
Reviewed by:    philip
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision:  https://reviews.freebsd.org/D21076
2019-07-27 09:36:45 +00:00
..
common
sfxge_dma.c
sfxge_ev.c
sfxge_intr.c
sfxge_ioc.h
sfxge_mcdi.c
sfxge_nvram.c
sfxge_port.c
sfxge_rx.c
sfxge_rx.h
sfxge_tx.c
sfxge_tx.h
sfxge_version.h
sfxge.c
sfxge.h