hw/block/fdc-isa: Move portio_list from FDCtrl to FDCtrlISABus
authorBernhard Beschow <shentey@gmail.com>
Sun, 14 Jan 2024 12:39:01 +0000 (13:39 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 14 Feb 2024 11:09:32 +0000 (06:09 -0500)
commit271c5bb3780773008a936f424cccf181a11b592c
treef2834bd43d9346fb96148bdf3d7eb26ff4253d97
parentf70c1c068dbe5bb17f34c8b9c2195cd7f707f07e
hw/block/fdc-isa: Move portio_list from FDCtrl to FDCtrlISABus

FDCtrl::portio_list isn't used inside FDCtrl context but only inside
FDCtrlISABus context, so move it there.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20240114123911.4877-2-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/block/fdc-internal.h
hw/block/fdc-isa.c