Skip to content

Add get_dev_path callback to ISA bus.

Gleb Natapov qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Keep track of ISA ports ISA device is using in qdev.hw/cs4231a.c hw/fdc.c hw/gus.c +10 more+63 -06 replies
2/2Add get_dev_path callback to ISA bus in qdev.hw/isa-bus.c+39 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Add get_dev_path callback to ISA bus.

PCI bus already has one. For ISA bus this patch series uses device's ioports to uniquely describe it. For isa-ide, for example, get_dev_path method returns:
01f0-01f7,03f6 for first IDE controller
0170-0177,0376 for second one

Gleb Natapov (2):
Keep track of ISA ports ISA device is using in qdev. Add get_dev_path callback to ISA bus in qdev.

 hw/cs4231a.c     |    1 +
 hw/fdc.c         |    3 ++
 hw/gus.c         |    4 +++
 hw/ide/isa.c     |    2 +
 hw/isa-bus.c     |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/isa.h         |    4 +++
 hw/m48t59.c      |    1 +
 hw/mc146818rtc.c |    1 +
 hw/ne2000-isa.c  |    3 ++
 hw/parallel.c    |    5 ++++
 hw/pckbd.c       |    3 ++
 hw/sb16.c        |    4 +++
 hw/serial.c      |    1 +
 13 files changed, 102 insertions(+), 0 deletions(-)