Hello,

I have been working on the emulation of the IP-Octal 232 IndustryPack
module, a device that implements eight RS-232 serial ports.

IndustryPack modules are small boards that are attached to a carrier
board, so in order to have a complete and working system I also wrote
an emulation of the TEWS TPCI200 carrier, which is a PCI board to
which up to 4 IndustryPack modules can be attached.

I have been using this virtual device to test and debug the ipoctal
driver in the Linux kernel. I'm publishing the code now, the emulation
is not 100% complete but it's fairly functional, and it can be used to
easily implement more IndustryPack modules.

So the work consists on three parts:
  - TPCI200, the bridge between PCI and IndustryPack.
  - The IndustryPack bus.
  - IP-Octal, the IndustryPack module.

Basic usage:

$ qemu -device tpci200 -device ipoctal

Each one of the serial ports in the ipoctal device can be redirected
to a character device in the host using the functionality provided by
QEMU. The 'serial0' to 'serial7' parameters can be used to specify
each one of the redirections.

Suggestions, comments, etc, will be appreciated.

Alberto Garcia (2):
  Add TEWS TPCI200 IndustryPack emulation
  Add IP-Octal 232 IndustryPack emulation

 default-configs/pci.mak |    1 +
 hw/Makefile.objs        |    3 +
 hw/ipack.c              |  106 ++++++++
 hw/ipack.h              |   75 ++++++
 hw/ipoctal.c            |  662 +++++++++++++++++++++++++++++++++++++++++++++++
 hw/pci_ids.h            |    3 +
 hw/tpci200.c            |  630 ++++++++++++++++++++++++++++++++++++++++++++
 7 ficheiros modificados, 1480 adições(+)
 create mode 100644 hw/ipack.c
 create mode 100644 hw/ipack.h
 create mode 100644 hw/ipoctal.c
 create mode 100644 hw/tpci200.c

-- 
1.7.10.4


Reply via email to