Somnath kotur wrote:
Hi All,
I was wondering if there is any way to control /know the instance #'s that show up after i 'add_drv' my NIC driver.
For example for me
Box 1 : it shows up as <mydrivername2> and on another box 2 : shows up as <mydrivername1> while actually i'd like them to show up on both boxes as <mydrivername0> , because this is what goes on to make my ifconfig name as well ,so ideally i'd like to have a script to configure the IP address as soon as it its loaded,but the instance# seems to vary from one box to the other ?
Is is possible to control this?
I believe that instances will always start at zero,
and then when a "new" NIC is found, it gets a higher
instance number. What you're seeing has happened to me
when I've moved a NIC around to different
slots, or updated a NIC (so that it has a different
vendor/device/revision id).
The only way I know of to "fix" this is to manually edit
/etc/path_to_inst and change the instance number (second column)
to zero, and remove "stale" instances which no longer exist,
and then reboot.
Drew
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss