]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bnx2x: Use pci_wait_for_pending_transaction() instead of for loop
authorCasey Leedom <leedom@chelsio.com>
Tue, 6 Aug 2013 10:18:38 +0000 (15:48 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Aug 2013 19:58:14 +0000 (13:58 -0600)
commit8903b9eb19e0e2ca5ec0fc257cb0e5d9e94c75f4
tree0f13178dc81be6f67d9077c253a0786dbeaa79f5
parent2c6217e0fc5f6c7458f413346806061d97ce37cf
bnx2x: Use pci_wait_for_pending_transaction() instead of for loop

New routine has been added to avoid duplication of code to wait for
pending PCI transactions to complete.  This makes use of that routine.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Acked-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c