BMAC_WAIT_REG
BMAC_WAIT_REG(handle, portn, BTXMAC_SW_RST_REG, val);
BMAC_WAIT_REG(handle, portn, BRXMAC_SW_RST_REG, val);