mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marin Mitov <mitov@issp.bas.bg>
To: linux-kernel@vger.kernel.org
Cc: "David S. Miller" <davem@redhat.com>,
	Richard Henderson <rth@cygnus.com>,
	Jakub Jelinek <jakub@redhat.com>
Subject: [PATCH]Documentation: Use DMA_BIT_MASK(24) instead of 0x00ffffff
Date: Wed, 7 Oct 2009 21:23:33 +0300	[thread overview]
Message-ID: <200910072123.34048.mitov@issp.bas.bg> (raw)

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;

                 reply	other threads:[~2009-10-07 18:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200910072123.34048.mitov@issp.bas.bg \
    --to=mitov@issp.bas.bg \
    --cc=davem@redhat.com \
    --cc=jakub@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rth@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®