Steven Stallion wrote: > All, > > Here is pass two: > http://cr.opensolaris.org/~stallion/mac_capab_mii/latest/ > > This version is much more transparent to the driver developer. > Essentially a new capability is created named MAC_CAPAB_MII. Its data > comprises of two callbacks to read and write from a specific MII/GMII > register. > > This should be the only public interface; everything else should be > hidden within Nemo. > > Thoughts? > > Steve > > You need a way to register your mac callbacks with Nemo. :-) Probably you want to have a way to associate the MII with a state structure at registration time as well... unless you believe that the same soft state used by the rest of nemo will be sufficient (it might be ... I don't have experience with NICs that support more than a single MII part on them to know whether an intermediate state structure would be useful or not. You'd still need a way to identify *which* MII part is active in the case where multiple MII devices are present on a single NIC part, though.)
-- Garrett _______________________________________________ networking-discuss mailing list [email protected]
