GMAC_SW_CONFIG_REG
sw_config = gmac_read_reg(gmac, GMAC_SW_CONFIG_REG);
gmac_write_reg(gmac, GMAC_SW_CONFIG_REG, sw_config);