]> git.hungrycats.org Git - linux/commit
[PATCH] Be careful about memory ordering in sungem driver
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 Feb 2004 13:36:39 +0000 (05:36 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 19 Feb 2004 13:36:39 +0000 (05:36 -0800)
commit945350d101ee6235b4daa1b0907b86316b01f4b0
treef99248e34bca0b9e016a3b7a61bcd2e654e84821
parent18d1ca4f30e8c549b41162b70ab7cc01651c2252
[PATCH] Be careful about memory ordering in sungem driver

Some barriers between setting up the DMA regions and writing the
descriptor addresses would be most useful.

I had some in my 2.4 version but they got lost someway, probably me not
properly merging with davem at this point.  The 970 is definitely more
agressive at re-ordering stores than previous CPUs...

Here is a patch adding some (probably too much, but better safe than
sorry).
drivers/net/sungem.c