Re: [PATCH v2 39/42] esp: convert cmdbuf from array to Fifo8

2021-03-03 Thread Laurent Vivier
Le 09/02/2021 à 20:30, Mark Cave-Ayland a écrit : > Rename ESP_CMDBUF_SZ to ESP_CMDFIFO_SZ and cmdbuf_cdb_offset to > cmdfifo_cdb_offset > to indicate that the command buffer type has changed from an array to a Fifo8. > > This also enables us to remove the ESPState field cmdlen since the command

[PATCH v2 39/42] esp: convert cmdbuf from array to Fifo8

2021-02-09 Thread Mark Cave-Ayland
Rename ESP_CMDBUF_SZ to ESP_CMDFIFO_SZ and cmdbuf_cdb_offset to cmdfifo_cdb_offset to indicate that the command buffer type has changed from an array to a Fifo8. This also enables us to remove the ESPState field cmdlen since the command length is now simply the number of elements used in cmdfifo