The file /etc/path_to_inst maps physical device paths to driver name and driver instance number.
/etc/path_to_inst
Example: e1000g0
e1000g0
"/pci@0/pci@0/pci@1/pci@0/pci@2/network@0" 0 "e1000g"