add config file support for the adm5120 switch