diff options
| author | Peter Maydell | 2018-09-25 15:02:32 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-09-25 16:13:24 +0200 |
| commit | 5d026de8b6aeb4d494c21ac32112c2821bd05422 (patch) | |
| tree | 4a3ea14bf8566827d62c5d3343dbb997c0d2687a /include | |
| parent | hw/intc/arm_gic: Drop GIC_BASE_IRQ macro (diff) | |
| download | qemu-5d026de8b6aeb4d494c21ac32112c2821bd05422.tar.gz qemu-5d026de8b6aeb4d494c21ac32112c2821bd05422.tar.xz qemu-5d026de8b6aeb4d494c21ac32112c2821bd05422.zip | |
hw/net/pcnet-pci: Convert away from old_mmio accessors
Convert the pcnet-pci device away from using the old_mmio
MemoryRegionOps accessor functions.
This commit is a no-behaviour-change API conversion.
(Since PCNET_PNPMMIO_SIZE is 0x20, the old "addr & 0x10"
check and the new "addr < 0x10" check are exact opposites;
the new code is phrased to be parallel with the
pcnet_io_read/write functions.)
I have left a TODO comment marker because the similarity
between the MMIO and IO accessor behaviour is suspicious
and they could be combined, but this will be left to a
different patch.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
