]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit602f8cd52ef19335fe080ab54d324c0c615228af
tree0b1c49d5f6c4bc2fcb6db3a622a4cbe631f00288
parentba79bb820a400bb0a7cd90e532ca3bc616df04fd
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