]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
piix_ide_reset: Use pci_set_* functions instead of direct access
authorLev Kujawski <lkujaw@member.fsf.org>
Thu, 7 Jul 2022 03:11:34 +0000 (03:11 +0000)
committerKevin Wolf <kwolf@redhat.com>
Fri, 30 Sep 2022 16:43:44 +0000 (18:43 +0200)
commit4851a986b205ac8fb133164cd15d9bb983d8502d
treeafb666f69068cb51c4011196c1cc0c43d94803bd
parent25474d90aa50bd32e0de395a33d8de42dd6f2aef
piix_ide_reset: Use pci_set_* functions instead of direct access

Eliminate the remaining TODOs in hw/ide/piix.c by:
* Using pci_set_{size} functions to write the PIIX PCI configuration
  space instead of manipulating it directly as an array; and
* Documenting the default register values by reference to the
  controlling specification.

Signed-off-by: Lev Kujawski <lkujaw@member.fsf.org>
Message-Id: <20220707031140.158958-1-lkujaw@member.fsf.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/piix.c