mtip32xx: updates based on feedback
authorAsai Thambi S P <asamymuthupa@micron.com>
Wed, 23 Nov 2011 07:29:24 +0000 (08:29 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Nov 2011 07:29:24 +0000 (08:29 +0100)
commit60ec0eecfa8968d0f1188e3730979196ac28b9de
tree59c1f3df77df31dc9d851f41ed658952150998b1
parenta71f483d7957c74368a76a3a88ae54d524fa3b49
mtip32xx: updates based on feedback

* queue ncq commands when a non-ncq is in progress or error handling is active
* merge variables 'internal_cmd_in_progress' and 'eh_active' into new variable 'flags'
* get rid of read/write semaphore 'internal_sem'
* new service thread to issue queued commands
* use macros from ata.h for command codes
* return ENOTTY for BLKFLSBUF ioctl
* style changes

Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c
drivers/block/mtip32xx/mtip32xx.h