Michael Buesch wrote:
> On Friday 21 July 2006 21:49, Brice Goglin wrote:
>
>> +myri10ge_pio_copy(mgp->sram + MYRI10GE_FW_OFFSET + i,
>> + fw->data + i,
>> + min(256U, (unsigned)(fw->size - i)));
>> +mb();
>> +
On Friday 21 July 2006 21:49, Brice Goglin wrote:
> When writing the firmware to the NIC, the FIFO is 256-bytes long,
> so we use 256-bytes chunks and a read to wait until the previous
> write is done.
>
> Signed-off-by: Brice Goglin <[EMAIL PROTECTED]>
> ---
> drivers/net/myri10ge/myri10ge.c |
When writing the firmware to the NIC, the FIFO is 256-bytes long,
so we use 256-bytes chunks and a read to wait until the previous
write is done.
Signed-off-by: Brice Goglin <[EMAIL PROTECTED]>
---
drivers/net/myri10ge/myri10ge.c | 20
1 file changed, 8 insertions(+), 12 de