Fw: [PATCH] Remove powerpc specific parts of 3c509 driver

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Sep 20 09:18:38 EST 2006


> However, I presume someone added the  __powerpc__ define here
> because they picked up a 3c509 at a garage sale, stuck it in 
> a powerpc, found out it didn't work due to a byte-swapping bug,
> and then patched it as above. I'm disturbed that somehow 
> outsl_ns() became identical to outsl() at some point, presumably
> breaking this patch.

The problem is that somebody had the "bright" idea to implement ppc
outsl as byteswapping a loooong time ago. This was totally bogus and got
fixed, but it looks like this driver holds a remain of that period.

Ben.





More information about the Linuxppc-dev mailing list