sfc: Fold efx_flush_all() into efx_stop_port() and update comments
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 8 Oct 2013 16:33:20 +0000 (17:33 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 12 Dec 2013 22:06:58 +0000 (22:06 +0000)
commitd615c03937f2b26d3b346d4bdcd9ef342df2ce18
tree0b1c49d5f6c4bc2fcb6db3a622a4cbe631f00288
parentea136ae71f392341475116a371b92cc78183c2b2
sfc: Fold efx_flush_all() into efx_stop_port() and update comments

efx_flush_all() is a really misleading name - it has nothing to do
with e.g. flushing DMA queues.  Since it's called immediately after
efx_stop_port() and is highly dependent on what that does, combine
the two functions.

Update comments to explain what this is doing a little better.
Also update an related and erroneous comment in efx_start_port().

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c