lkml.org 
[lkml]   [2004]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PATCH] dma_get_required_mask()
From
Date
On Mon, 2004-06-28 at 17:28, David S. Miller wrote:
> Maybe you should tweak the default implementation such that
> something reasonable happens on 64-bit platforms that
> define dma_addr_t as a 32-bit quantity. :-)

Actually, the default implementation should work on these platforms
too. Since it's impossible to set a mask over 32 bits, then the best
dma_get_required_mask() will do is return a full spread of 32 bits,
since the memory mask is anded with the current dma mask.

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/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.031 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site