netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ssb: Fix DMA-API compilation for non-PCI systems
@ 2008-11-10 21:52 David Miller
  2008-11-10 22:07 ` Michael Buesch
  0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2008-11-10 21:52 UTC (permalink / raw)
  To: mb; +Cc: netdev


I applied this since it's a build buster and we should
get it fixed quickly.

But as I look at this, the thing to really do here is get
rid of these stupid switch statements.  None of it is needed.

The layer that sets up the SSB devices should simply save the
generic device pointer for the DMA entity into some new
->dma_dev struct member.

Then you just use generic dma_*() interfaces unilaterally.  For PCI
devices it will "just work".

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

end of thread, other threads:[~2008-11-11  8:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-10 21:52 ssb: Fix DMA-API compilation for non-PCI systems David Miller
2008-11-10 22:07 ` Michael Buesch
2008-11-10 22:53   ` David Miller
2008-11-10 23:32     ` Michael Buesch
2008-11-11  8:56       ` Christoph Hellwig

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).