Sebastien Roy wrote:
> On Mon, 2010-01-04 at 09:11 -0800, Garrett D'Amore wrote:
>   
>> Sebastien Roy wrote:
>>     
>>> Does "driver property" mean dladm link property, or driver.conf setting,
>>> or something else?  Why wouldn't it be better to simply have the driver
>>> call some mii_*() function to set the probe order without getting an
>>> administrative tunable involved?
>>>   
>>>       
>> Its via ddi_prop_update_int().  While this could be administratively 
>> tuned, the intent is that the property is created programatically.
>>
>> I need the property to exist fairly early, so having a driver set it up 
>> in attach() seemed like the least intrusive way of handling this.
>>     
>
> Right, and doesn't the driver create a mii handle in attach?  It seems
> odd that something that will never need to be tuned ends up in a .conf
> file.  It's your call though, I don't have a strong opinion over this
> private workaround. (+1)
>   

It doesn't end up in the .conf file, unless an administrator puts it 
there (which would probably be a bad idea.)  Instead, its created 
programmatically during attach().

Thanks.

    - Garrett

Reply via email to