Re: [PATCH v2 25/42] esp: remove CMD pdma_origin

2021-03-02 Thread Laurent Vivier
Le 09/02/2021 à 20:30, Mark Cave-Ayland a écrit : > The cmdbuf is really just a copy of FIFO data (including extra message phase > bytes) so its pdma_origin is effectively TI. Fortunately we already know when > we are receiving a SCSI command since do_cmd == 1 which enables us to > distinguish betw

Re: [PATCH v2 25/42] esp: remove CMD pdma_origin

2021-02-23 Thread Philippe Mathieu-Daudé
On 2/9/21 8:30 PM, Mark Cave-Ayland wrote: > The cmdbuf is really just a copy of FIFO data (including extra message phase > bytes) so its pdma_origin is effectively TI. Fortunately we already know when > we are receiving a SCSI command since do_cmd == 1 which enables us to > distinguish between the

[PATCH v2 25/42] esp: remove CMD pdma_origin

2021-02-09 Thread Mark Cave-Ayland
The cmdbuf is really just a copy of FIFO data (including extra message phase bytes) so its pdma_origin is effectively TI. Fortunately we already know when we are receiving a SCSI command since do_cmd == 1 which enables us to distinguish between the two cases in esp_pdma_read()/esp_pdma_write(). Si