lkml.org 
[lkml]   [2000]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpci_alloc_consistent
Hi David

I've looked at pci_alloc_consistent and friends.
My gripe with it is that dma_mask is not really a
per device thing, ESS Solo1 for example can
address 32bits for playback, but only 24bits for
recording. So shouldn't it be a parameter to pci_alloc_consistent
instead of being an element of pci_dev?

I'm currently setting the value just prior to calling
pci_alloc_consistent.

Why not just setting the mask to 24bits? Since
playback is what most people care for, and having
separate masks for both directions (BMDMA controllers)
allows playback still to work on archs that cannot
have 24bit only memory (alpha was such a case until
at least one week ago...)

Tom

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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