Subject: Re: CVS commit: src/sys/dev/ic
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 11/12/2006 20:20:03
On Mon, Nov 13, 2006 at 03:10:06AM +0900, Izumi Tsutsui wrote:
> thorpej@shagadelic.org wrote:
> 
> > > (though rtl8169.c should have some flag which indicates RTL8168 quirk,
> > >  which can't xfer RX packets into unaligned buffers)
> > 
> > So, we'd have a RE_ETHER_ALIGN(sc) macro that wraps it?  Sounds good.
> 
> I still wonder if RTL8168 could appear on !__NO_STRICT_ALIGNMENT hosts.

Dunno, but there are a few DSPs out there with ethernet interfaces
that require aligned RX buffers, but where the (big-endian) cpu can't
read misaligned data.  The h/w guys want shooting, 2 bytes of any-value
would do...

	David

-- 
David Laight: david@l8s.co.uk