Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pci



> cegger%NetBSD.org@localhost wrote:
> 
> > Module Name:        src
> > Committed By:       cegger
> > Date:               Wed Jan 21 07:48:54 UTC 2009
> > 
> > Modified Files:
> >     src/sys/dev/pci: if_age.c
> > 
> > Log Message:
> > Roll our own ETHER_ALIGN #define like many other driver do.
> > Use ETHER_ALIGN to calculate number of segments correctly (actually the
> same way as FreeBSD and OpenBSD do).
> > Also use ETHER_ALIGN to correctly adjust new mbufs.
> 
> BTW, what made you use PAGE_SIZE to adjust new mbufs?

We don't have ETHER_ALIGN, therefore I searched for a
replacement that was most reasonable for me. Now, that I define
ETHER_ALIGN myself, I can use it.

Christoph


Home | Main Index | Thread Index | Old Index