Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Correct way to set coherent_dma_mask on a non-pci device?
@ 2008-07-08 17:40 Steve Brown
  2008-07-08 17:55 ` Michael Buesch
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Brown @ 2008-07-08 17:40 UTC (permalink / raw)
  To: linux-mips; +Cc: Michael Buesch

There appears to be no function like pci_set_consistent_dma_mask to set 
the coherent mask for a non-pci device.

What is the "proper" way to set it?

The context for the question is a recent change to ssb_dma_set_mask() in 
drivers/ssb/main.c that removed the somewhat fragile, direct 
manipulation of dma_mask and coherent_dma_mask in favor of a call to 
dma_set_mask().

Thanks,
Steve

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

end of thread, other threads:[~2008-07-10 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 17:40 Correct way to set coherent_dma_mask on a non-pci device? Steve Brown
2008-07-08 17:55 ` Michael Buesch
2008-07-10 17:38   ` Steve Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox