linux/drivers/net/ethernet/atheros/alx
Peter Senna Tschudin 8d7f1fbf08 ATHEROS-ALX: Use dma_set_mask_and_coherent and fix a bug
1. For the 64 bits dma mask use dma_set_mask_and_coherent instead of
   dma_set_mask and dma_set_coherent_mask.

2. For the 32 bits dma mask dma_set_coherent_mask is only called if
   dma_set_mask fails, which is unusual. Assuming this as a bug, fixes
   it by replacing calls to dma_set_mask and dma_set_coherent_mask by a
   call to dma_set_mask_and_coherent.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Tested-by: Jonas Hahnfeld <hahnjo@hahnjo.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-17 17:19:45 -04:00
..
alx.h alx: add alx_get_stats64 operation 2014-01-11 20:52:58 -08:00
ethtool.c alx: add stats to ethtool 2014-01-11 20:52:59 -08:00
hw.c alx: add stats update function 2014-01-11 20:52:58 -08:00
hw.h alx: add stats to ethtool 2014-01-11 20:52:59 -08:00
main.c ATHEROS-ALX: Use dma_set_mask_and_coherent and fix a bug 2014-03-17 17:19:45 -04:00
Makefile
reg.h alx: add constants for the stats fields 2014-01-11 20:52:58 -08:00