git: ath - Change the way the edma rxfifo is reset

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 16 13:38:29 PDT 2014


commit 2a73bd010f60d93e6e4023a3aa202a086b12bba1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 16 13:36:21 2014 -0700

    ath - Change the way the edma rxfifo is reset
    
    * Do not unconditionally try to reload the whole FIFO.  Instead set a flag
      when the HAL is reset.
    
    * Force the hal to cold-reset every time for now to match the flag.
    
    * Currently a hack until a Adrian comes up with the correct fix.
    
    * TODO - Currently does not re-enable the RXEOL interrupt correctly.

Summary of changes:
 sys/dev/netif/ath/ath/if_ath.c         |  11 +++-
 sys/dev/netif/ath/ath/if_ath_pci.c     |   4 +-
 sys/dev/netif/ath/ath/if_ath_rx_edma.c | 102 +++++++++++++++------------------
 sys/dev/netif/ath/ath/if_ath_sysctl.c  |   3 +-
 sys/dev/netif/ath/ath/if_athvar.h      |   1 +
 5 files changed, 60 insertions(+), 61 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a73bd010f60d93e6e4023a3aa202a086b12bba1


-- 
DragonFly BSD source repository



More information about the Commits mailing list