Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GD7pr-0006LB-6p for qemu-devel@nongnu.org; Tue, 15 Aug 2006 18:56:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GD7pn-0006Io-DB for qemu-devel@nongnu.org; Tue, 15 Aug 2006 18:56:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GD7pn-0006Ij-7l for qemu-devel@nongnu.org; Tue, 15 Aug 2006 18:56:31 -0400 Received: from [64.233.182.188] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GD7vu-0002LT-M2 for qemu-devel@nongnu.org; Tue, 15 Aug 2006 19:02:51 -0400 Received: by nf-out-0910.google.com with SMTP id a25so496963nfc for ; Tue, 15 Aug 2006 15:56:28 -0700 (PDT) Message-ID: Date: Wed, 16 Aug 2006 02:56:28 +0400 From: "Igor Kovalenko" Subject: Re: [Qemu-devel] qemu usb-linux.c vl.h hw/esp.c hw/lsi53c895a.c ... In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9514_27394829.1155682588718" References: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_9514_27394829.1155682588718 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/12/06, Paul Brook wrote: > > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Paul Brook 06/08/12 01:04:27 > > Modified files: > . : usb-linux.c vl.h > hw : esp.c lsi53c895a.c scsi-disk.c usb-hid.c > usb-hub.c usb-msd.c usb-ohci.c usb-uhci.c usb.c > usb.h > pc-bios : openbios-sparc32 > Added files: > pc-bios : openbios-esp.diff > > Log message: > SCSI and USB async IO support. Problem in esp.c: if request cannot be handled in one scsi device access, DMA ptr s->espdmaregs[1] will be incremented by async transfer size both in esp_do_dma() and in esp_command_complete(). Removing the one in esp_do_dma() allows me to boot aurora sparc linux with qemu-system-sparc. -- Kind Regards, Igor V. Kovalenko ------=_Part_9514_27394829.1155682588718 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/12/06, Paul Brook <paul@nowt.org> wrote:
CVSROOT:        /sources/qemu
Module name:    qemu
Changes by:     Paul Brook <pbrook>     06/08/12 01:04:27

Modified files:
        .              : usb-linux.c vl.h
        hw             : esp.c lsi53c895a.c scsi-disk.c usb-hid.c
                         usb-hub.c usb-msd.c usb-ohci.c usb-uhci.c usb.c
                         usb.h
        pc-bios        : openbios-sparc32
Added files:
        pc-bios        : openbios-esp.diff

Log message:
        SCSI and USB async IO support.

Problem in esp.c: if request cannot be handled in one scsi device access, DMA ptr s->espdmaregs[1]  will be incremented by async transfer size both in esp_do_dma() and in esp_command_complete(). Removing the one in esp_do_dma() allows me to boot aurora sparc linux with qemu-system-sparc.

--
Kind Regards,
Igor V. Kovalenko
 
------=_Part_9514_27394829.1155682588718--