netdev: do not allow devices to be opened with conflicting types