Linux-kernel mailing list archive 2000-06,: pci_alloc_consistent

# pci_alloc_consistent

Thomas Sailer (sailer@ife.ee.ethz.ch)
Mon, 07 Feb 2000 21:20:34 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: TenThumbs: "Re: Linux 2.2.15pre6"
- Previous message: Michael Harnois: "processes will not die"
- Next in thread: David S. Miller: "Re: pci_alloc_consistent"
- Reply: David S. Miller: "Re: pci_alloc_consistent"
- Reply: Thomas Sailer: "Re: pci_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/

- Next message: TenThumbs: "Re: Linux 2.2.15pre6"
- Previous message: Michael Harnois: "processes will not die"
- Next in thread: David S. Miller: "Re: pci_alloc_consistent"
- Reply: David S. Miller: "Re: pci_alloc_consistent"
- Reply: Thomas Sailer: "Re: pci_alloc_consistent"