[PATCH] cciss: increase number of commands on controller
authorMike Miller <mike.miller@hp.com>
Thu, 7 Dec 2006 04:35:01 +0000 (20:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:29 +0000 (08:39 -0800)
commitf880632f963c3611d096d9373d16663c076310c7
treef1e287ce43b1dd08cb7d5f8be661f48d99b902ed
parent4ff9a9a4baff2627d7bcf65d0ec07d647bc1ad29
[PATCH] cciss: increase number of commands on controller

Remove #define NR_CMDS and replace it w/hba[i]->nr_cmds.  Most Smart Array
controllers can support up to 1024 commands but the E200 family can only
support 128.  To prevent annoying "fifo full" messages we define nr_cmds on a
per controller basis by adding it the product table.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cciss.c
drivers/block/cciss.h