Do self-identifying devices require a configuration file?
No, however if you need to supply driver private properties, they are specified in the configuration file. See driver.conf(4) and pci(4) for more information. In order for the hwconf file to augment the properties of a hardware dev_info node, it must match the “name” property, the “parent” property, and the first “reg” property. If they don’t match, you’ll get two dev_info nodes – one from the hardware (PROM) and one from the driver.conf file. 4.11 I want to have two drivers in one module. It doesn’t seem to work by putting multiple entries in the modlinkage structure. Including two drivers in a single loadable module is not supported. However, it can be done in a non-compliant way by making three loadable modules. Put all the driver code in one common module and write two small wrapper modules for each driver. The small wrappers need _init, _fini, _info, dev_ops/cb_ops structures for the driver and a line so the two small driver wrappers depend on the main module and get linked with i