lib82596: move DMA allocation into the callers of i82596_probe
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Aug 2020 13:58:21 +0000 (15:58 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:20:42 +0000 (06:20 +0200)
commit48d15814dd0fc429e3205b87f1af6cc472018478
treeaab429c110103572ca948de9312a3860bd4cd556
parent33b16dc8b805ad5c5e04fed55c1669d115102dc1
lib82596: move DMA allocation into the callers of i82596_probe

This allows us to get rid of the LIB82596_DMA_ATTR defined and prepare
for untangling the coherent vs non-coherent DMA allocation API.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> (SNI part)
drivers/net/ethernet/i825xx/lasi_82596.c
drivers/net/ethernet/i825xx/lib82596.c
drivers/net/ethernet/i825xx/sni_82596.c