« Previous | Next » 

Revision e8ee28fb

IDe8ee28fb3e6cc2c4f5ec10d0aec9ff8ae9469e93

Added by Gerd Hoffmann over 14 years ago

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 <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences