tc35815: Use 0 RxFragSize.MinFrag value for non-packing mode
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 6 Aug 2009 04:41:49 +0000 (04:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Aug 2009 20:14:25 +0000 (13:14 -0700)
commita48ec346fcb095f6a0e74a57165f9a9a3b23b95a
treeecf8f2ec1f303272ad2142019b380edd7937ebcc
parent7bb82e834cc9cc95512287a9bf637719557674a0
tc35815: Use 0 RxFragSize.MinFrag value for non-packing mode

The datasheet say "When not enabling packing, the MinFrag value must
remain at 0".  Do not set value to RxFragSize register if
TC35815_USE_PACKEDBUFFER disabled.

This is not a bugfix.  No real problem reported on this.

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