linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] sata_dwc_460ex: move to generic DMA driver
@ 2015-03-03 20:41 Andy Shevchenko
  2015-03-03 20:41 ` [PATCH v1 1/2] " Andy Shevchenko
  2015-03-03 20:41 ` [PATCH v1 2/2] sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev Andy Shevchenko
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Shevchenko @ 2015-03-03 20:41 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, linuxppc-dev, Benjamin Herrenschmidt,
	rsarmah, Alexey Brodkin
  Cc: Andy Shevchenko

The SATA implementation based on two actually different devices, i.e. SATA and
DMA controllers.

For Synopsys DesignWare DMA we have already a generic implementation of the
driver. Thus, the patch 1/2 converts the code to use DMAEngine framework and
dw_dmac driver.

In future it will be better to split the devices inside DTS as well like it's
done on other platforms and remove hardcoded parameters of DMA controller.

Besides it's a nice clean up it removes a lot of warnings produced by the
original code, that pissed off even Linus [1]. Though, this series doesn't
re-enable COMPILE_TEST for this module.

The driver is compile tested only on x86. So, it would be nice if anyone who
has either AMCC 460EX Canyonlands board or similar SATA controller in
possession can test this.

[1] http://www.spinics.net/lists/linux-ide/msg50334.html

Andy Shevchenko (2):
  sata_dwc_460ex: move to generic DMA driver
  sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev

 drivers/ata/sata_dwc_460ex.c | 753 ++++++++-----------------------------------
 1 file changed, 130 insertions(+), 623 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-11-23 11:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 20:41 [PATCH v1 0/2] sata_dwc_460ex: move to generic DMA driver Andy Shevchenko
2015-03-03 20:41 ` [PATCH v1 1/2] " Andy Shevchenko
2015-11-22 13:03   ` Måns Rullgård
2015-11-23 10:10     ` Andy Shevchenko
2015-11-23 11:58       ` Måns Rullgård
2015-03-03 20:41 ` [PATCH v1 2/2] sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev Andy Shevchenko
2015-03-24 17:51   ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).