]> git.baikalelectronics.ru Git - kernel.git/commit
tc35815: Enable StripCRC feature
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Fri, 12 Dec 2008 04:58:04 +0000 (20:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Dec 2008 04:58:04 +0000 (20:58 -0800)
commit643800557e03cf3cbd9a814e6b612e2f7c0f6cf7
treefbcde186821bb2f305d71c0a2b6c7f934f2bf86c
parent8be8ada7746fdccc3d2e4e78f28755352c385da3
tc35815: Enable StripCRC feature

The chip can strip CRC automatically on receiving.  Enable it.

Also fix potential RX_BUF_SIZE calculation bug which was obscured by
alignment.  And use proper symbols (NET_IP_ALIGN, ETH_FCS_LEN, etc.)
instead of magic numbers.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tc35815.c