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>
Thu, 10 Feb 2022 12:27:35 +0000 (21:27 +0900)
commitf8f85e719fc126a3d6e623c1dee3f62f82d66491
treedbdc1b1acf47df15dc7b106bbc19340c18423635
parent244c69a1d85218f7fac34c8d781c97e5880c6c69
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