[PATCH] cciss: fix XFER_READ/XFER_WRITE in do_cciss_request
authorMike Miller <mike.miller@hp.com>
Mon, 18 Dec 2006 10:00:14 +0000 (11:00 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 18 Dec 2006 10:00:14 +0000 (11:00 +0100)
commita52de245ef0b6217a56fb2472ff65c3a196cafd5
tree937ef119cfaa7ee69e1b11dce9830045992271d9
parent89f97ad1894ab518b05b798906085fb3d1b2d00f
[PATCH] cciss: fix XFER_READ/XFER_WRITE in do_cciss_request

This patch fixes a stupid bug. Sometime during the 2tb enhancement I ended up
replacing the macros XFER_READ and XFER_WRITE with h->cciss_read and
h->cciss_write respectively. It seemed to work somehow at least on x86_64 and
ia64. I don't know how. But people started complaining about command timeouts
on older controllers like the 64xx series and only on ia32. This resolves the
issue reproduced in our lab. Please consider this for inclusion.

Thanks,
mikem

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c