21 Sep, 2016

24 commits


17 Sep, 2016

3 commits

  • This short series convers device-drivers.tmpl into the RST format, splits
    it up, and sets up the result under Documentation/driver-api/. For added
    fun, I've taken one top-level file (hsi.txt) and folded it into the
    document as a way of showing the direction I'm thinking I would like things
    to go. There is plenty more of this sort of work that could be done, to
    say the least - this is just a beginning!

    The formatted results can be seen at:

    http://static.lwn.net/kerneldoc/driver-api/index.html

    As part of the long-term task to turn Documentation/ into less of a horror
    movie, I'd like to collect documentation of the driver-specific API here.
    Arguably gpu/ and the media API stuff should eventually move here, though
    we can discuss the color of that particular shed some other day.
    Meanwhile, I'd appreciate comments on the general idea.

    Jonathan Corbet
     
  • No need to be be, just be should be sufficient.

    Signed-off-by: Laurent Navet
    Signed-off-by: Jonathan Corbet

    Laurent Navet
     
  • So don't mention it.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Jonathan Corbet

    Christoph Hellwig
     

16 Sep, 2016

3 commits


06 Sep, 2016

8 commits

  • This is the driver API document, so the internal stuff is just noise here.

    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     
  • It never made sense to keep these documents together; move each into its
    own file.

    Drop the section numbering on hsi.txt on its way to its own file.

    Suggested-by: Sebastian Reichel
    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     
  • The HSI subsystem documentation was split across hsi.txt and the
    device-drivers docbook. Now that the latter has been converted to Sphinx,
    pull in the HSI document so that it's all in one place.

    Acked-by: Sebastian Reichel
    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     
  • Add yet another regex to kernel-doc to trap @param() references separately
    and not produce corrupt RST markup.

    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     
  • As far as I can tell, the handling of "..." arguments has never worked
    right, so any documentation provided was ignored in favor of "variable
    arguments." This makes kernel-doc handle "@...:" as documented. It does
    *not* fix spots in kerneldoc comments that don't follow that convention,
    but they are no more broken than before.

    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     
  • This is a trivial fix to correct upper bound addresses to always be
    inclusive. Previously, the majority of ranges specified were inclusive with a
    small minority specifying an exclusive upper bound. This patch fixes this
    inconsistency.

    Signed-off-by: Lorenzo Stoakes
    Signed-off-by: Jonathan Corbet

    Lorenzo Stoakes
     
  • The driver that used the 'nodisconnect' parameter was removed in
    commit 565bae6a4a8f ("[SCSI] 53c7xx: kill driver"). Related documentation
    was cleaned up in commit f37a7238d379 ("[SCSI] 53c7xx: fix removal
    fallout"), except for the remaining two mentions that are removed here.

    Signed-off-by: Finn Thain
    Reviewed-by: Geert Uytterhoeven
    Signed-off-by: Jonathan Corbet

    Finn Thain
     
  • - The guide currently says to pad the structure to a multiple of
    64-bits. This is not necessary in cases where the structure contains
    no 64-bit types. Clarify this concept to avoid unnecessary padding.
    - When using __u64 to hold user pointers, blindly trying to do a cast to
    a void __user * may generate a warning on 32-bit systems about a cast
    from an integer to a pointer of different size. There is a macro to
    deal with this which hides an ugly double cast. Add a reference to
    this macro.

    Signed-off-by: Laura Abbott
    Acked-by: Arnd Bergmann
    Signed-off-by: Jonathan Corbet

    Laura Abbott
     

01 Sep, 2016

2 commits

  • To build only the PDF of the media folder run::

    make SPHINXDIRS=media pdfdocs

    Signed-off-by: Markus Heiser
    Signed-off-by: Jonathan Corbet

    Markus Heiser
     
  • This extends the method to build only sub-folders to the targets
    "latexdocs" and "pdfdocs". To do so, a conf.py in the sub-folder is
    required, where the latex_documents of the sub-folder are
    defined. E.g. to build only gpu's PDF add the following to the
    Documentation/gpu/conf.py::

    +latex_documents = [
    + ("index", "gpu.tex", "Linux GPU Driver Developer's Guide",
    + "The kernel development community", "manual"),
    +]

    and run:

    make SPHINXDIRS=gpu pdfdocs

    Signed-off-by: Markus Heiser
    Signed-off-by: Jonathan Corbet

    Markus Heiser