Commit bb377eab authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] Updated DMA-mapping docs

parent a07d89f0
...@@ -759,14 +759,12 @@ to "Closing". ...@@ -759,14 +759,12 @@ to "Closing".
unsigned int offset; unsigned int offset;
unsigned int length; unsigned int length;
This means that your pci_{map,unmap}_sg() and all other The base address is specified by a "page+offset" pair.
interfaces dealing with scatterlists must be able to cope
properly with page being non NULL. Previous versions of struct scatterlist contained a "void *address"
field that was sometimes used instead of page+offset. As of Linux
A scatterlist is in one of two states. The base address is 2.5., page+offset is always used, and the "address" field has been
either specified by "address" or by a "page+offset" pair. deleted.
If "address" is NULL, then "page+offset" is being used.
If "page" is NULL, then "address" is being used.
2) More to come... 2) More to come...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment