Steven Stallion wrote:
> All,
>
> In a nutshell: What is the correct usage of the m_instance member in 
> mac_register_t?
>
> The Nemo design docs seem to suggest this can be used for multi-port 
> (multiple MAC's per dev_info_t?) devices, however I am not sure how this 
> should be implemented.
>   

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. :-)

> Does the use of this member require multiple invocations of 
> mac_register() ? If so, does this mean tracking multiple mac_handle_t 
> instances in the driver soft state?
>   

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.

    -- Garrett
> Thanks in advance,
>
> Steve
>
>   

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

Reply via email to