summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-01-24 19:41:46 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-01-28 20:31:06 +0100
commitd3e3e970e3722c51e3fd3b042b6065d4bfaf6f81 (patch)
treedca07be14a7a4a43fb54fc5841330afc5f25e7e0
parent4106ceff15495a7df1617e78bbf3e852fe6601c9 (diff)
downloadop-kernel-dev-d3e3e970e3722c51e3fd3b042b6065d4bfaf6f81.zip
op-kernel-dev-d3e3e970e3722c51e3fd3b042b6065d4bfaf6f81.tar.gz
ieee1394: 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>
-rw-r--r--drivers/ieee1394/sbp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c
index 3f8082d..a2984a0 100644
--- a/drivers/ieee1394/sbp2.c
+++ b/drivers/ieee1394/sbp2.c
@@ -256,7 +256,7 @@ static int sbp2_set_busy_timeout(struct sbp2_lu *);
static int sbp2_max_speed_and_size(struct sbp2_lu *);
-static const u8 sbp2_speedto_max_payload[] = { 0x7, 0x8, 0x9, 0xA, 0xB, 0xC };
+static const u8 sbp2_speedto_max_payload[] = { 0x7, 0x8, 0x9, 0xa, 0xa, 0xa };
static DEFINE_RWLOCK(sbp2_hi_logical_units_lock);
OpenPOWER on IntegriCloud