net: pasemi: set a 64-bit DMA mask on the DMA device
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:02 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:01 +0000 (22:41 +1100)
commit74ebe3e733b791f37415b3a1b917ee5035bc7364
tree084c69d6d3682a28d369fe26d59817f9febdbc43
parent1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8
net: pasemi: set a 64-bit DMA mask on the DMA device

The pasemi driver never set a DMA mask, and given that the powerpc
DMA mapping routines never check it this worked ok so far.  But the
generic dma-direct code which I plan to switch on for powerpc checks
the DMA mask and fails unsupported mapping requests, so we need to
make sure the proper 64-bit mask is set.

Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/net/ethernet/pasemi/pasemi_mac.c