Subject: Re: help with pci/pci bridges
To: David Laight <david@l8s.co.uk>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 06/24/2002 17:49:02
On Mon, Jun 24, 2002 at 04:50:47PM +0200, Manuel Bouyer wrote:
> > [...]
> > I'd RTFM the ethernet chipset datasheet VERY closely and possibly
> > look at transmitting/receiving into 32byte aligned buffers.
> > (Which will almost certainly require a misaligned
> > copy of the data by the cpu.)
> 
> Thanks, I'll try this. But I also get the problem when using only one of the
> interfaces of the DFE580 (using an extra etherpowerII to act as router), so
> it seems that the problem is when there is concurent activity on either
> the primary or secondary PCI bus.

I tried to force all DMA ops to be 32bit aligned. This doesn't help.
I also tried to disable memory write and invalidate, and this didn't seem
to change anything. So maybe the sundance is never using memory write and
invalidate commands.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 23 ans d'experience feront toujours la difference
--