]> err.no Git - linux-2.6/commit
r8169: align the IP header when there is no DMA constraint
authorFrancois Romieu <romieu@fr.zoreil.com>
Wed, 28 Feb 2007 22:16:57 +0000 (23:16 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 9 Jul 2007 02:16:44 +0000 (22:16 -0400)
commite9f63f30863fd778a5329e93c7e2208b9bcb5b79
treef6744d61585961022468e96164684987dd4fd1a1
parent275391a482c436282dde57beeffc5d61b229fdd2
r8169: align the IP header when there is no DMA constraint

Align the IP header when the chipset can DMA at any location (plain 0x8169).
Otherwise (0x8136/0x8168) obey the constraint imposed by the hardware.

This patch complements the previous alignment rework done for copybreak.

Original idea from Philip Craig <philipc@snapgear.com>

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Philip Craig <philipc@snapgear.com>
Cc: Mike Isely <isely@pobox.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
drivers/net/r8169.c