bna: TxRx and datapath fix
authorRasesh Mody <rmody@brocade.com>
Thu, 23 Dec 2010 21:45:01 +0000 (21:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Dec 2010 03:15:59 +0000 (19:15 -0800)
commitbe7fa3263a15d3f278c3bfbf606ec169aaa3a920
tree758dca8183d4d5643dd23547bc470b38a15a8579
parente1928c86c4829703b800c81cc9edc939b5634e6f
bna: TxRx and datapath fix

Change Details:
- Check HW ready condition before accessing h/w register in data-path
- Postpone clean-up of data buffers to the data-path restart path and
wait in the cleanup routines for in-flight DMA to complete
- Separate out Tx completion processing from Rx poll routine

Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bna/bnad.c
drivers/net/bna/bnad.h