solaris - OracleSolaris 11.2 -- is /usr/kernel/drv/driver.conf required for PCI? -
i'm implementing small pci driver academic purposes, , 1 thing i'm not clear if have provide driver.conf
? different materials read (including http://blog.csdn.net/hotsolaris/article/details/1763716), pci driver config file optional, in case seems pci_config_setup()
successful driver.conf provided:
name="mydrv" parent="/pci@0,0/pci8086,2e11"
then do:
% add_drv -i 'pcixxxx,yy' mydrv
and adds in system no warning or error messages. assume properties of pci device can't derived automatically system, e.g. parent bus?
i appreciate if shed light on this. thanks.
if @ random selection of small files under /kernel/drv actual physical hardware, you'll see contain line
ddi_forceattach=1;
pseudo drivers have driver.conf(4) file reflects parentage in system. recommend reading manpage, goes detail what's required here.
Comments
Post a Comment