Sergey Shtylyov 03ffaab6dc ata: pata_hpt37x: fix PCI clock detection
[ Upstream commit 5f6b0f2d037c8864f20ff15311c695f65eb09db5 ]

The f_CNT register (at the PCI config. address 0x78) is 16-bit, not
8-bit! The bug was there from the very start... :-(

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Fixes: 669a5db411d8 ("[libata] Add a bunch of PATA drivers.")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-08 19:00:57 +01:00
..
2021-07-20 16:21:09 +02:00
2016-09-06 12:38:17 -04:00
2021-11-26 11:48:18 +01:00
2021-05-22 10:40:25 +02:00
2021-05-22 10:40:25 +02:00
2015-04-16 13:53:32 -05:00