net: rtl8139: do not use old_mmio accesses
commit726ec828bdc186b98379b1d4dc5942aadfcdda52
authorMatt Parker <mtparkr@gmail.com>
Tue, 15 Aug 2017 20:06:07 +0000 (15 21:06 +0100)
committerJason Wang <jasowang@redhat.com>
Fri, 8 Sep 2017 00:17:37 +0000 (8 08:17 +0800)
treed0d7f78bf6c090ae9e1cb1606a65464a0045267e
parentac7bc031408491cf17da0a46e3fe34e34a1c1b85
net: rtl8139: do not use old_mmio accesses

Both io and memory use the same mmio functions in the rtl8139 device.
This patch removes the separate MemoryRegionOps and old_mmio accessors
for memory, and replaces it with an alias to the io memory region.

Signed-off-by: Matt Parker <mtparkr@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/rtl8139.c