OSDN Git Service

hw/ide/sii3112: Convert reset handler to DeviceReset
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 10 Oct 2019 13:15:23 +0000 (15:15 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 15 Oct 2019 21:18:08 +0000 (18:18 -0300)
commitd96c81f9b8bdeb19417a54178759ac170f080cb2
tree82fe16428bab3b5708f128b225faaee5a6668316
parentee358e919e385fdc79d59d0d47b4a81e349cd5c9
hw/ide/sii3112: Convert reset handler to DeviceReset

The SiI3112A SATA controller is a PCI device, it will be reset
when the PCI bus it stands on is reset.

Convert its reset handler into a proper Device reset method.

Reviewed-by: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191010131527.32513-5-philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/ide/sii3112.c