On Wed, Oct 27, 2010 at 12:23:41AM +0200, frantisek holop wrote: > hello, > > ifconfig(9) says about debug: > > debug Enable driver-dependent debugging code; usually, this > turns on extra console error logging. > > -debug Disable driver-dependent debugging code. > > but it seems like debug actually takes a debug mask parameter. > it would be nice if this was mentioned, perhaps with the breakdown > of the possible values as well. or if the values are driver specific > maybe a nod in that direction (altough i havent found anything > related to debug in e.g. iwn) > > also, what actually "usually" means in this context? does it mean > 'usually or no messages at all', or 'usually console messages > but in some other cases not console messages but something else'? >
ifconfig foo debug sets the IFF_DEBUG interface flag, that's all. There is no debug mask or anything other parameter you can pass to debug. The "usually" means that most drivers do not implement anything for IFF_DEBUG. I know sppp(4) and therefore pppoe(4) does but that's about it. -- :wq Claudio

