Re: [PATCH 1/4] esp-pci.c: use correct address register for PCI DMA transfers

2024-01-12 Thread Guenter Roeck
On Fri, Jan 12, 2024 at 01:15:26PM +, Mark Cave-Ayland wrote: > The current code in esp_pci_dma_memory_rw() sets the DMA address to the value > of the DMA_SPA (Starting Physical Address) register which is incorrect: this > means that for each callback from the SCSI layer the DMA address is set

[PATCH 1/4] esp-pci.c: use correct address register for PCI DMA transfers

2024-01-12 Thread Mark Cave-Ayland
The current code in esp_pci_dma_memory_rw() sets the DMA address to the value of the DMA_SPA (Starting Physical Address) register which is incorrect: this means that for each callback from the SCSI layer the DMA address is set back to the starting address. In the case where only a single SCSI