add dg_port_cfg implementation