If I move a device (NIC) around in a Solaris machine, it takes
on a new name (foo0 becomes foo1 becomes foo2, for example)
each time I move it.

Can somebody tell me where / how the numbers are assigned?  How do I
reset them back to zero?

It doesn't seem to be a userspace (device alias) thing, as the
different instances are reflected in my driver via ddi_get_instance(),
and in the NIC instance as reported by ifconfig, dladm, etc.  I'm
really curious how the kernel maps devices to instances.

Thanks,

Drew

PS: Yeah, I know, this answer is really "If a bus and a device love
    each other very much..." :)
_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to