freebsd-skq/sys/dev/sfxge/common
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
..
ef10_ev.c
ef10_filter.c
ef10_image.c
ef10_impl.h
ef10_intr.c
ef10_mac.c
ef10_mcdi.c
ef10_nic.c
ef10_nvram.c
ef10_phy.c
ef10_rx.c sfxge(4): unify power of 2 alignment check macro 2019-07-27 09:36:45 +00:00
ef10_signed_image_layout.h
ef10_tlv_layout.h
ef10_tx.c
ef10_vpd.c
efsys.h sfxge(4): unify power of 2 alignment check macro 2019-07-27 09:36:45 +00:00
efx_annote.h
efx_bootcfg.c
efx_check.h
efx_crc32.c
efx_ev.c
efx_filter.c
efx_hash.c
efx_impl.h
efx_intr.c
efx_lic.c
efx_mac.c
efx_mcdi.c
efx_mcdi.h
efx_mon.c
efx_nic.c
efx_nvram.c
efx_phy_ids.h
efx_phy.c
efx_port.c
efx_regs_ef10.h
efx_regs_mcdi_aoe.h
efx_regs_mcdi_strs.h
efx_regs_mcdi.h
efx_regs_pci.h
efx_regs.h
efx_rx.c
efx_sram.c
efx_tunnel.c
efx_tx.c
efx_types.h
efx_vpd.c
efx.h sfxge(4): unify power of 2 alignment check macro 2019-07-27 09:36:45 +00:00
hunt_impl.h
hunt_nic.c
mcdi_mon.c
mcdi_mon.h
medford2_impl.h
medford2_nic.c
medford_impl.h
medford_nic.c
siena_flash.h
siena_impl.h
siena_mac.c
siena_mcdi.c
siena_nic.c
siena_nvram.c
siena_phy.c
siena_sram.c
siena_vpd.c