Hello again, I'm sending the new version of my TPCI200 and IP-Octal 232 patches, here's the original submission for reference:
https://lists.gnu.org/archive/html/qemu-devel/2012-08/msg04173.html It's been a while since I posted the previous patches. I was on holidays for quite some time, plus the trip to the KVM Forum where I could have the chance to meet some of you in person :) Then came the v1.3 code freeze, so I was making a few changes to both devices since then. These are the changes from the previous version: * Rebased against the current master. ipoctal renamed to * ipoctal232. Big-endian mode can now be disabled (tpci200). * Implemented the RxFIFO (ipoctal232). Simplified the Tx code * (ipoctal232). Removed the timer (ipoctal232). Rewrote the IRQ * code (both devices). A few minor bugfixes. Coding style fixes. The Linux driver is available in the latest mainline kernel (tested with v3.7-rc6). I also devoted quite some time to testing the code (and fixing a few bugs in the kernel driver along the way). The device has 8 serial ports, I tried them with minicom, pppd, etc and everything seems to work fine. I also tried attaching 4 instances of ipoctal232 to the tpci200 bridge -32 serial ports in total- and using all of them at the same time and there was nothing unexpected. As a last thing, I also tried to reorganize the memory addressing using Avi's suggestions but I couldn't come up with a solution to the problems that I described back then. Here's the original thread for reference: https://lists.gnu.org/archive/html/qemu-devel/2012-10/msg01117.html I think that's all, if there's any questions please let me know. Thanks, Alberto Garcia (2): Add TEWS TPCI200 IndustryPack emulation Add GE 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 | 613 +++++++++++++++++++++++++++++++++++++++++++ hw/pci_ids.h | 3 + hw/tpci200.c | 667 +++++++++++++++++++++++++++++++++++++++++++++++ 7 ficheiros modificados, 1468 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