diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DMA-mapping.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/DMA-mapping.txt b/Documentation/DMA-mapping.txt index 684557474c15..ee4bb73683cd 100644 --- a/Documentation/DMA-mapping.txt +++ b/Documentation/DMA-mapping.txt | |||
@@ -199,6 +199,8 @@ address during PCI bus mastering you might do something like: | |||
199 | "mydev: 24-bit DMA addressing not available.\n"); | 199 | "mydev: 24-bit DMA addressing not available.\n"); |
200 | goto ignore_this_device; | 200 | goto ignore_this_device; |
201 | } | 201 | } |
202 | [Better use DMA_24BIT_MASK instead of 0x00ffffff. | ||
203 | See linux/include/dma-mapping.h for reference.] | ||
202 | 204 | ||
203 | When pci_set_dma_mask() is successful, and returns zero, the PCI layer | 205 | When pci_set_dma_mask() is successful, and returns zero, the PCI layer |
204 | saves away this mask you have provided. The PCI layer will use this | 206 | saves away this mask you have provided. The PCI layer will use this |