Messages in this thread | | | Subject | Re: Proposal for new generic device API: dma_get_required_mask() | From | James Bottomley <> | Date | 18 Jun 2004 09:19:00 -0500 |
| |
On Fri, 2004-06-18 at 00:59, Jeremy Higdon wrote: > Sounds good. But I'm curious why you make the driver call dma_set_mask() > twice.
Basically so that dma_get_required_mask() returns a value that may be related to the current mask. If the device has a wierd mask setting (say it has bits missing or something), the platform may want to return something different to tune the required mask to be optimal.
James
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |