Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Nov 1996 19:31:31 +0000
From:      Matt Thomas <matt@lkg.dec.com>
To:        Terry Lambert <terry@lambert.org>
Cc:        freebsd-hackers@freefall.freebsd.org
Subject:   Re: VM answer requested 
Message-ID:  <199611011931.TAA15517@whydos.lkg.dec.com>
In-Reply-To: Your message of "Fri, 01 Nov 1996 14:35:35 MST." <199611012135.OAA28514@phaeton.artisoft.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > What about the aligned access bit in recent Intel processors?

> > > I'd also like to get kernel faults if this happens in the kernel
> > > (it is my opinion that it should never be allowed to happen in the
> > > kernel, and there should be a sanitization pass to insure it).
> > 
> > Don't use the de driver then.  Because of a misfeature in the 21x4x 
> > chips, the Ethernet payload (the stuff after the header) is not longword
> > aligned).  Having the processor deal with unaligned data is much faster
> > than copying the data so that it is aligned.
>
> How will this driver work with an Alpha or MIPs processor, BTW?  It's
> a DEC card, you'd expect it to work with both...

#if defined(__alpha__)
#define	TULIP_COPY_RXDATA	1
#endif

-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt.html
Westford, MA              Disclaimer: I disavow all knowledge of this message





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611011931.TAA15517>