Sebastien Roy wrote: > On Sun, 2010-01-03 at 11:42 -0800, Garrett D'Amore - sun microsystems > wrote: > >> Solution >> >> We propose to provide a mechanism whereby NIC drivers can change the >> starting address for the PHY search. (The first address matched is >> identified.) This is done via a driver property ("first-phy"), which >> indicates the address of the first PHY to be checked. (By default the >> first address searched will be 1, going through 31, and then finally >> searching at 0.) Note that all 32 addresses will checked; the search >> starts at the first-phy (or 1 if not set), checks each address in ascending >> order, loops around at 31 and continues the search at address 0. >> >> The new property, "first-phy" will remain Consolidation Private, along >> with the rest of the MII interfaces. >> > > 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. - Garrett > -Seb > > >