r8169: confusion between hardware and IP header alignment
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 20 Feb 2007 21:20:51 +0000 (22:20 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 9 Jul 2007 02:16:44 +0000 (22:16 -0400)
commit864022344caf43dab7fa5219152280d056c6e051
tree6df9d868ff437b6ae7fa76d1821ac79a2448e857
parent0e4851502f846b13b29b7f88f1250c980d57e944
r8169: confusion between hardware and IP header alignment

The rx copybreak part is straightforward.

The align field in struct rtl_cfg_info is related to the alignment
requirements of the DMA operation. Its value is set at 2 to limit the
scale of possible regression but my old v1.21 8169 datasheet claims a
8 bytes requirements (which never appeared in the driver, of course)
and the 8101/8168 go with a plain 8 bytes alignment.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
drivers/net/r8169.c