]> err.no Git - linux-2.6/commit
myri10ge: add barrier in myri10ge_send_cmd
authorBrice Goglin <brice@myri.com>
Fri, 9 May 2008 00:18:45 +0000 (02:18 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 May 2008 05:30:28 +0000 (01:30 -0400)
commitbd2db0cf2411ebc081d45bde1b7c6cf726b832f2
tree9c6ad67df7c065e935e9c03e926a4d605ac6d8b2
parentc0bf8801535d45df3597839edf864e24f60a4188
myri10ge: add barrier in myri10ge_send_cmd

Add a barrier() in the usleep() loop in  myri10ge_send_cmd().
Without the barrier, some mips machine never notices that the
firmware has DMA'ed the response.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/myri10ge/myri10ge.c