libata: add extra internal command
authorJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 18:56:19 +0000 (12:56 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 18:56:19 +0000 (12:56 -0600)
commit47a0671e358f739eb5f68e3d694f2946f24802ff
tree937f4d05084fcf06335afcccd377e5d752a91b5a
parent661d261aedff239537dfb5f852d5e4c8043417b6
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>
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
drivers/ata/sata_fsl.c
include/linux/libata.h