mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH]Documentation: Use DMA_BIT_MASK(24) instead of 0x00ffffff
@ 2009-10-07 18:23 Marin Mitov
  0 siblings, 0 replies; only message in thread
From: Marin Mitov @ 2009-10-07 18:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: David S. Miller, Richard Henderson, Jakub Jelinek

Hi all,

Use DMA_BIT_MASK(24) instead of 0x00ffffff in DMA-mapping.txt

The patch is against 2.6.32-rc3

Signed-off-by: Marin Mitov <mitov@issp.bas.bg>

======================================================
--- a/Documentation/DMA-mapping.txt	2009-10-05 17:43:52.000000000 +0300
+++ b/Documentation/DMA-mapping.txt	2009-10-05 17:44:45.000000000 +0300
@@ -214,7 +214,7 @@
 Here is pseudo-code showing how this might be done:
 
 	#define PLAYBACK_ADDRESS_BITS	DMA_BIT_MASK(32)
-	#define RECORD_ADDRESS_BITS	0x00ffffff
+	#define RECORD_ADDRESS_BITS	DMA_BIT_MASK(24)
 
 	struct my_sound_card *card;
 	struct pci_dev *pdev;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-07 18:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-07 18:23 [PATCH]Documentation: Use DMA_BIT_MASK(24) instead of 0x00ffffff Marin Mitov

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

all inboxes | Powered by JetHome®