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)
commit82a9928db560c429807f02467d22394f944a8916
treefbcde186821bb2f305d71c0a2b6c7f934f2bf86c
parent2cb377283f3469d66f0ea7358015abfe8366e5d0
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