In article <[EMAIL PROTECTED]>,
Peter Edwards <[EMAIL PROTECTED]> wrote:
> John Polstra <[EMAIL PROTECTED]> wrote:
> 
> [snip]
> >> I assume you mean, that after setting if_hdrlen,
> [snip]
> > I think you also have to set if_data.ifi_hdrlen as I said
> [snip]
> 
> My fault: I jumped from one term for the same thing to the other
> without explanation. if_hdrlen is a macro for if_data.ifi_hdrlen.

Understood.  I was just trying to make the point that you have to
set that in addition to setting the MTU register in the hardware.

> I'm not a big fan of hiding those kind of details with macros, but I
> assume they're defined by smarter people than me in order that
> they be used :-)

I don't know why the fxp driver doesn't use the macro.  Maybe the
macro didn't exist yet when that code was added.

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Two buttocks cannot avoid friction."                     -- Malawi saying
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to