]> git.itanic.dy.fi Git - linux-stable/commit
firewire: fw-sbp2: set correct maximum payload (fixes CardBus adapters)
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 4 Aug 2007 16:38:32 +0000 (18:38 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:31 +0000 (14:27 -0700)
commit76525808fce1f652a6d8472db5a84d28b0951c90
tree0ea0c5ac6d0f797beddae8f001d03c572790c6d6
parent33aff30ab29fa997b8d146d2416e32fd9600b217
firewire: fw-sbp2: set correct maximum payload (fixes CardBus adapters)

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.

Backport of commit 25659f7183376c6b37661da6141d5eaa21479061.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/firewire/fw-sbp2.c
drivers/firewire/fw-transaction.h