]> git.baikalelectronics.ru Git - kernel.git/commit
libata: add extra internal command
authorJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 18:51:09 +0000 (12:51 -0600)
committerTejun Heo <tj@kernel.org>
Fri, 11 May 2018 20:10:44 +0000 (13:10 -0700)
commit3996a413557e649b00043cc127f912fa8c554f59
treebcfd75dd3334fb180bdfd81669f4caa8189c1685
parentffe0dac400680d9bb8257ebddf678dc677757d28
libata: add extra internal command

Bump the internal tag to 32, instead of stealing the last tag in
our regular command space. This works just fine, since we don't
actually need a separate hardware tag for this. Internal commands
cannot coexist with NCQ commands.

As a bonus, we get rid of the special casing of what tag to use
for the internal command.

This is in preparation for utilizing all 32 commands for normal IO.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
include/linux/libata.h