sata_via: Enable optional hotplug on VT6420
authorOndrej Zary <linux@rainbow-software.org>
Sun, 25 Jun 2017 20:25:36 +0000 (22:25 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 26 Jun 2017 20:54:53 +0000 (16:54 -0400)
commit98633258935bd793793c5d53da889cf0b050b9e4
treeee0866ed2416ef0be8236b42e88335705327a9c7
parentda8fa9cca5b760cb8e5ab16ce7e1941cfc3e04cc
sata_via: Enable optional hotplug on VT6420

VT6420 seems to have the same hotplug capability as VT6421.

However, enabling hotplug needs to expose SCR registers which can cause
problems. It works for me but might break elsewhere. So add a module
parameter vt6420_hotplug to enable this feature.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_via.c