bce(4) un hiding adapter info

Pyun YongHyeon pyunyh at gmail.com
Thu Sep 23 18:21:27 UTC 2010


On Thu, Sep 23, 2010 at 10:43:52AM -0700, David Christensen wrote:
> > Would it be possible to unhide the output of bce_print_adapter_info()
> > from under boot verbose?
> > 
> > This information is useful for comparing firmware and card versions
> > between machines.
> > 
> > Alternatively what about adding a sysctl under dev.bce.X for this info?
> 
> I have no problem doing that, just not sure that everyone would
> appreciate the spew.  I like it for exactly the same reason,
> troubleshooting remote systems.  
> 

I also like to see that. It would just add one informational line
and it wouldn't hurt.

> What I'd really like to do is revamp the debug code so that it 
> can be enabled/disabled on the fly rather than requiring that 
> the driver be compiled.  Adding some performance stuff would 

Couldn't it be implemented with sysctl? Users may set a variable
something like dev.bce.0.diag_bitmap to activate debugging code.
But it seems that requires a lot of code changes.

> be awesome as well.
> 
> Dave 
> 
> 


More information about the freebsd-net mailing list