OpenCloudOS-Kernel/drivers/net/ethernet/smsc
Christoph Hellwig 0eb1645a8d smc911x: pass struct device to DMA API functions
The DMA API generally relies on a struct device to work properly, and
only barely works without one for legacy reasons.  Pass the easily
available struct device from the platform_device to remedy this.

Note that smc911x apparently is a PIO chip with an external DMA
handshake, and we probably use the wrong device here.  But at least
it matches the mapping side, which apparently works or at least
worked in the not too distant past.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-12 12:09:24 -05:00
..
Kconfig net: documentation: build a directory structure for drivers 2018-12-05 11:30:06 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
epic100.c net: smsc: epic100: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-06 17:38:15 -08:00
smc91c92_cs.c drivers/net: smsc: Convert timers to use timer_setup() 2017-10-28 19:09:50 +09:00
smc91x.c net: ethernet: smsc: smc91x: simplify getting .driver_data 2018-10-21 21:10:12 -07:00
smc91x.h net: smc91x: remove the dmaengine compat need 2018-06-21 10:45:47 +02:00
smc911x.c smc911x: pass struct device to DMA API functions 2019-02-12 12:09:24 -05:00
smc911x.h net: smc911x: convert pxa dma to dmaengine 2016-03-18 22:23:59 -04:00
smc9194.c Annotate hardware config module parameters in drivers/net/ethernet/ 2017-04-20 12:02:32 +01:00
smc9194.h
smsc911x.c net: smsc: fix return type of ndo_start_xmit function 2018-09-26 10:15:17 -07:00
smsc911x.h smsc: Replace spin_is_locked() with lockdep 2018-11-12 09:06:22 -08:00
smsc9420.c net: ethernet: Add helper for MACs which support asym pause 2018-09-12 20:24:21 -07:00
smsc9420.h