via-rhine: disable rx_copybreak on archs that don't allow unaligned DMA access
authorDustin Marquess <jailbird@alcatraz.fdf.net>
Fri, 10 Aug 2007 21:05:15 +0000 (14:05 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 14 Aug 2007 05:27:10 +0000 (01:27 -0400)
commitb47157f00414f368f2847697ce48b76f1a5e5110
tree6c3d65b1ccf1f8cdce32ebb205e9cb3d1ebbb55a
parent39d3520c92cf7a28c07229ca00cc35a1e8026c77
via-rhine: disable rx_copybreak on archs that don't allow unaligned DMA access

Patch to disable the rx_copybreak feature on hardware architectures that
don't allow unaligned DMA access.

#ifdef code taken from tulip_core.c.  Problem pointed out by Ivan
Kokshaysky.

Signed-off-by: Dustin Marquess <jailbird@alcatraz.fdf.net>
Cc: Francois Romieu <romieu@fr.zoreil.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/via-rhine.c