firewire: fw-sbp2: set correct maximum payload (fixes CardBus adapters)
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 21 Jul 2007 20:43:05 +0000 (22:43 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 2 Aug 2007 18:34:16 +0000 (20:34 +0200)
As far as I know, all CardBus FireWire 400 adapters have a maximum
payload of 1024 bytes which is less than the speed-dependent limit of
2048 bytes.  Fw-sbp2 has to take the host adapter's limit into account.

This apparently fixes Juju's incompatibility with my CardBus cards, a
NEC based card and a VIA based card.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Kristian Høgsberg <krh@redhat.com>
drivers/firewire/fw-sbp2.c
drivers/firewire/fw-transaction.h

Simple merge
Simple merge