ramips: merge identical switch configuration entries