ata: pata_hpt366: check channel enable bits
authorSergey Shtylyov <s.shtylyov@omp.ru>
Thu, 10 Feb 2022 09:56:31 +0000 (12:56 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Sat, 19 Feb 2022 02:18:43 +0000 (11:18 +0900)
commitf79ca4550c3cb985313f69fcd4e82770d18fc8fe
treedbdc1b1acf47df15dc7b106bbc19340c18423635
parent88e6b81878fb3fce93a26879164a2b7f5cbc848a
ata: pata_hpt366: check channel enable bits

HighPoint HPT36x chips did turn out to have the channel enable bits --
however, badly implemented. Make use of them, despite that is probably
only going to burden the driver's code -- assuming both channels are
always enabled by the HighPoint BIOS anyway...

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_hpt366.c