aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/i2o
diff options
context:
space:
mode:
authorVasily Averin <vvs@sw.ru>2007-11-05 17:50:53 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-05 18:12:31 -0500
commitae5fbf771aeb534e31f3541673bb240ff8c07283 (patch)
treec38b9b328250da8b5baa0f84486468fdf82820c6 /drivers/message/i2o
parent5db6a4dac1c7f459af2f895f6889346cedd467a1 (diff)
i2o: debug messages corrected
max_phys_segments and max_sectors were swapped Signed-off-by: Vasily Averin <vvs@sw.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/message/i2o')
-rw-r--r--drivers/message/i2o/i2o_block.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c
index 682406168de9..e4ad7a1c4fbd 100644
--- a/drivers/message/i2o/i2o_block.c
+++ b/drivers/message/i2o/i2o_block.c
@@ -1077,8 +1077,8 @@ static int i2o_block_probe(struct device *dev)
1077 blk_queue_max_sectors(queue, max_sectors); 1077 blk_queue_max_sectors(queue, max_sectors);
1078 blk_queue_max_hw_segments(queue, i2o_sg_tablesize(c, body_size)); 1078 blk_queue_max_hw_segments(queue, i2o_sg_tablesize(c, body_size));
1079 1079
1080 osm_debug("max sectors = %d\n", queue->max_phys_segments); 1080 osm_debug("max sectors = %d\n", queue->max_sectors);
1081 osm_debug("phys segments = %d\n", queue->max_sectors); 1081 osm_debug("phys segments = %d\n", queue->max_phys_segments);
1082 osm_debug("max hw segments = %d\n", queue->max_hw_segments); 1082 osm_debug("max hw segments = %d\n", queue->max_hw_segments);
1083 1083
1084 /* 1084 /*