We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d7627 commit 6ad805bCopy full SHA for 6ad805b
Documentation/driver-api/uio-howto.rst
@@ -276,8 +276,8 @@ fields of ``struct uio_mem``:
276
- ``int memtype``: Required if the mapping is used. Set this to
277
``UIO_MEM_PHYS`` if you you have physical memory on your card to be
278
mapped. Use ``UIO_MEM_LOGICAL`` for logical memory (e.g. allocated
279
- with :c:func:`kmalloc()`). There's also ``UIO_MEM_VIRTUAL`` for
280
- virtual memory.
+ with :c:func:`__get_free_pages()` but not kmalloc()). There's also
+ ``UIO_MEM_VIRTUAL`` for virtual memory.
281
282
- ``phys_addr_t addr``: Required if the mapping is used. Fill in the
283
address of your memory block. This address is the one that appears in
0 commit comments