Commit 978d7b0b authored by Dave Jones's avatar Dave Jones

[PATCH] Remove address member from scatterlist docs.

The element is dead, so update the docs to reflect reality.
parent 1413ed21
...@@ -759,13 +759,10 @@ to "Closing". ...@@ -759,13 +759,10 @@ to "Closing".
Struct scatterlist must contain, at a minimum, the following Struct scatterlist must contain, at a minimum, the following
members: members:
char *address;
struct page *page; struct page *page;
unsigned int offset; unsigned int offset;
unsigned int length; unsigned int length;
The "address" member will disappear in 2.5.x
This means that your pci_{map,unmap}_sg() and all other This means that your pci_{map,unmap}_sg() and all other
interfaces dealing with scatterlists must be able to cope interfaces dealing with scatterlists must be able to cope
properly with page being non NULL. properly with page being non NULL.
...@@ -775,9 +772,6 @@ to "Closing". ...@@ -775,9 +772,6 @@ to "Closing".
If "address" is NULL, then "page+offset" is being used. If "address" is NULL, then "page+offset" is being used.
If "page" is NULL, then "address" is being used. If "page" is NULL, then "address" is being used.
In 2.5.x, all scatterlists will use "page+offset". But during
2.4.x we still have to support the old method.
2) More to come... 2) More to come...
Closing Closing
......
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