Steven Stallion wrote:
> Garrett D'Amore wrote:
>   
>> For dnet, leave it zero.  The idea is that some NICs have more than one 
>> port per devinfo instance.  dnet isn't one of those. :-)
>>     
>
> Gotcha.
>
> I guess what threw me was hackintr_f (dnet.c:358) tracks multiple 
> gld_mac_info_t instances (up to 8).
>
>   
>> Yes, it would require multiple invocations.  And yes, you'd have 
>> multiple mac_handle_t's.  But again, for most NICs you never need this.
>>     
>
> Makes sense. If one were to come across a NIC that needs this, would it 
> make sense to re-use the mac_register_t instance between mac_register() 
> calls (after making the appropriate modifications)?
>   

Possibly, I haven't really thought about it.

    - Garrett
> Steve
> _______________________________________________
> driver-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>   

_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to