firewire: sbp2: fix payload limit at S1600 and S3200
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 24 Jan 2009 18:41:46 +0000 (19:41 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 28 Jan 2009 19:31:07 +0000 (20:31 +0100)
commita08e100aece16e33a45b82924ad85f4066c4ed1c
tree7d231251c6b8abdf14614098954f49c6cb5843f6
parentc1fbdd78517a9323ea5f5767c8ceb10aabc40fc2
firewire: sbp2: fix payload limit at S1600 and S3200

1394-2008 clause 16.3.4.1 (1394b-2002 clause 16.3.1.1) defines tighter
limits than 1394-2008 clause 6.2.2.3 (1394a-2000 clause 6.2.2.3).

Our previously too large limit doesn't matter though if the controller
reports its max_receive correctly.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-sbp2.c