Hi all, I am here to ask somebody's help on my kernel coding. First, let me try to describe what I am doing.
I am developing lntel IOMMU driver for OpenSolaris. Intel IOMMU is a part of Intel VTD (virtual technology for direct IO), which spec can be downloaded from http://www.intel.com/technology/virtualization/. The BIOS exports the IOMMU information through the DMAR ACPI table. So, first I get the IOMMU information through parsing the ACPI table in the pci_enumverate( ). And create the dev_info structure under the root neuxs. Then want to let the kernel to load my IOMMU nexus driver at the boot time. My questions are: 1. What can I do to let the kernel load the IOMMU nexus driver module automatically during the boot time? 2. The platform may have more than one IOMMU units. Each has it's own register set and interrupt. But they share the same bus ops. I want to bind only one driver for them. Does this make sense? To do so, should I create a dev_info structure for each IOMMU unit or just a single one? Thanks for your reading and I am very appreciate for your help. _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
