Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/bnxt/bnxt.h
Context not available. | |||||
#define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max) | #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max) | ||||
#define BNXT_IFMEDIA_ADD(supported, fw_speed, ifm_speed) \ | |||||
if (supported & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_ ## fw_speed) \ | |||||
ifmedia_add(softc->media, IFM_ETHER | ifm_speed, 0, NULL); \ | |||||
/* NVRAM access */ | /* NVRAM access */ | ||||
enum bnxt_nvm_directory_type { | enum bnxt_nvm_directory_type { | ||||
BNX_DIR_TYPE_UNUSED = 0, | BNX_DIR_TYPE_UNUSED = 0, | ||||
Context not available. |