View | Details | Raw Unified | Return to bug 239143
Collapse All | Expand All

(-)b/sys/x86/iommu/intel_drv.c (+7 lines)
Lines 770-775 dmar_find(device_t dev, bool verbose) Link Here
770
	const char *banner;
770
	const char *banner;
771
	int i, dev_domain, dev_busno, dev_path_len;
771
	int i, dev_domain, dev_busno, dev_path_len;
772
772
773
	/*
774
	 * This function can only handle PCI(e) devices.
775
	 */
776
	if (device_get_devclass(device_get_parent(dev)) !=
777
	    devclass_find("pci"))
778
		return (NULL);
779
773
	dmar_dev = NULL;
780
	dmar_dev = NULL;
774
	dev_domain = pci_get_domain(dev);
781
	dev_domain = pci_get_domain(dev);
775
	dev_path_len = dmar_dev_depth(dev);
782
	dev_path_len = dmar_dev_depth(dev);

Return to bug 239143