]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pasemi_mac: add local skb alignment
authorOlof Johansson <olof@lixom.net>
Tue, 2 Oct 2007 21:26:53 +0000 (16:26 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:25 +0000 (16:54 -0700)
commit8dc121a4b620090e594945fd36f878836fc5a14a
tree1be4e5078a4a7dee15e0a7bc2690707312ee72a7
parent9a50bebda95745d312c69d3bb6d788067cbefb84
pasemi_mac: add local skb alignment

pasemi_mac: add local skb alignment

Add local SKB alignment to pasemi_mac, since ppc64 in general has it at 0
because of design flaws in some of the IBM server bridge chips. However,
for PWRficient doing the unaligned copies is more expensive than doing
unaligned DMA so make sure the data is aligned instead.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c