From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgEqn-0006x5-Ph for qemu-devel@nongnu.org; Wed, 05 Dec 2012 08:17:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgEqh-0002KK-Ub for qemu-devel@nongnu.org; Wed, 05 Dec 2012 08:17:21 -0500 Received: from smtp3.mundo-r.com ([212.51.32.191]:6802 helo=smtp4.mundo-r.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgEqh-0002K7-Nj for qemu-devel@nongnu.org; Wed, 05 Dec 2012 08:17:15 -0500 From: Alberto Garcia Date: Wed, 5 Dec 2012 15:16:46 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.7.10.4" Subject: [Qemu-devel] =?utf-8?q?=5BPATCH_v2_0/2=5D_Add_TPCI200_and_IP-Octa?= =?utf-8?q?l_232_IndustryPack_emulation?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Alberto Garcia , Blue Swirl , Avi Kivity , Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= This is a multi-part message in MIME format. --------------1.7.10.4 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit 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 --------------1.7.10.4--