|
Description
|
when I do "kstat bge" I see that there is a lot of duplication of
information between "parameters" and "mii"; Looking at the code, it
seems like the ndd information is printed twice, which is needless
(and confusing).
e.g., "kstat bge" duplicates adv_autoneg_cap information twice: once as
adv_cap_autoneg under "name: mii" and the second time as
adv_autoneg_cap in "name: parameters".
randy.fishel points out:
> The "problem" here, is that many drivers (both inside and outside of
> Sun) have implemented ndd facilities such that they are also displayed
> as kstats. They then implement kstats that display the same
> information as many ndd values, but under a different name and/or
> statistic.
Since Nemo already exports a "standard" set for the drivers, these duplicate
definitions should be examined and removed where possible (i.e., where no
contracts or other promises about the Stablility are held).
|