QLCNIC_NIU_MAX_GBE_PORTS
if ((port < 0) || (port > QLCNIC_NIU_MAX_GBE_PORTS))
ahw->total_nic_func = QLCNIC_NIU_MAX_GBE_PORTS;