move config_*Intf() out from the header