diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-10-13 13:38:39 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:28:42 -0500 |
commit | e8ee28fb3e6cc2c4f5ec10d0aec9ff8ae9469e93 (patch) | |
tree | 16eace0c597cf768456f8475799c43b6fdfe8e81 /tcg-runtime.c | |
parent | 844e78ef9c6102cc3e33e4aa00efc8abdf0d8dde (diff) |
isa: configure serial+parallel by index.
This patch adds a 'index' property to the isa-parallel and isa-serial
devices. This can be used to create devices with the default isa irqs
and ioports by simply specifying the index, i.e.
-device isa-serial,index=1
instead of
-device isa-serial,iobase=0x2f8,irq=3
for ttyS1 aka com2. Likewise for parallel ports.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tcg-runtime.c')
0 files changed, 0 insertions, 0 deletions