[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ESP: misc fixes
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH] ESP: misc fixes |
Date: |
Sat, 29 Nov 2008 18:51:55 +0200 |
On 11/29/08, Hervé Poussineau <address@hidden> wrote:
> Hi,
>
> Attached patches fix a few problems with ESP scsi card emulation.
>
>
> Misc fixes (esp_1_misc.diff)
> - Fix internal fifo size (16 bytes), according to
> http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR53C9X.txt
> - Fix values of STAT_MI and STAT_MO
> - Give a scsi ID to adapter, and prevent this ID to be used by devices
> - Prevent fifo overrun in esp_mem_writeb
> - Add a ESP_ERROR macro, and use it where appropriate
>
>
> Fix configuration 2 register (esp_2_cfg2.diff):
> According to
> http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR53C9X.txt
> , "Any bit pattern written to this register
> may be read back and should be identical"
>
>
> Fix command len detection (esp_3_cmdlen.diff)
> When command is not DMA, TCMID and TCLO registers are not filled. Use
> command buffer len instead
>
>
> Fix 'enable selection' command (esp_4_ensel.diff)
> Indicate success after 'enable selection' command
>
>
> Signed-off-by: Hervé Poussineau <address@hidden>
>
>
> These patches have been tested on Sparc SS-5 and on Mips Magnum emulations.
Thanks, applied as r5811, r5812, r5813 and r5814.