1. 07 8月, 2015 1 次提交
  2. 11 7月, 2015 1 次提交
    • B
      DocBook: Avoid building man pages repeatedly and inconsistently · b44158b1
      Ben Hutchings 提交于
      Some kernel-doc sections are included in multiple DocBook files.  This
      means the mandocs target will generate the same manual page multiple
      times with different metadata (author name/address and manual title,
      taken from the including DocBook file).  If it's invoked in a parallel
      build, the output is nondeterminstic.
      
      For each section that is duplicated, mark the less specific manual's
      inclusion as 'extra' and exclude it during conversion to manual pages.
      Use xmlif for this, as that is bundled with xmlto which we already
      use.
      
      I would have preferred to use more conventional markup for this, but
      each of the following approaches failed:
      
      1. Wrap the extra inclusions with a new element and add a template to
         the stylesheet to include/exclude them.  Unfortunately DocBook XSL
         doesn't seem to support foreign elements at an intermediate level
         in the document tree.
      2. Use DocBook profiling.  This works but requires passing an absolute
         path to the profile stylesheet to xmlto, so it's not portable.
      3. Use SGML marked sections.  docbook2x can handle these but xmlto
         chokes on them.
      Reported-by: NJérémy Bobbio <lunar@debian.org>
      Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      b44158b1
  3. 02 12月, 2013 1 次提交
  4. 18 12月, 2012 1 次提交
  5. 18 5月, 2012 1 次提交
    • P
      MCA: delete all remaining traces of microchannel bus support. · bb8187d3
      Paul Gortmaker 提交于
      Hardware with MCA bus is limited to 386 and 486 class machines
      that are now 20+ years old and typically with less than 32MB
      of memory.  A quick search on the internet, and you see that
      even the MCA hobbyist/enthusiast community has lost interest
      in the early 2000 era and never really even moved ahead from
      the 2.4 kernels to the 2.6 series.
      
      This deletes anything remaining related to CONFIG_MCA from core
      kernel code and from the x86 architecture.  There is no point in
      carrying this any further into the future.
      
      One complication to watch for is inadvertently scooping up
      stuff relating to machine check, since there is overlap in
      the TLA name space (e.g. arch/x86/boot/mca.c).
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: James Bottomley <JBottomley@Parallels.com>
      Cc: x86@kernel.org
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Acked-by: NH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      bb8187d3
  6. 27 10月, 2010 1 次提交
  7. 21 10月, 2010 1 次提交
  8. 12 9月, 2010 1 次提交
    • R
      docbook: skip files with no docs since they generate scary warnings · 39d70939
      Randy Dunlap 提交于
      Fix docbook templates that reference files that do not contain the
      expected kernel-doc notation.
      
      Fixes these warnings:
      
        Warning(arch/x86/include/asm/unaligned.h): no structured comments found
        Warning(lib/vsprintf.c): no structured comments found
      
      These cause errors in the generated html output, like below, so drop
      these lines.
      
        Name
        arch/x86/include/asm/unaligned.h - Document generation inconsistency
        Oops
        Warning
        The template for this document tried to insert the structured comment from the file arch/x86/include/asm/unaligned.h at this point, but none was found. This dummy section is inserted to allow generation to continue.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      39d70939
  9. 11 8月, 2010 1 次提交
  10. 23 4月, 2009 1 次提交
  11. 07 4月, 2009 1 次提交
  12. 21 3月, 2009 1 次提交
  13. 23 2月, 2009 1 次提交
    • R
      docbook: split kernel-api for device-drivers · f7f84f38
      Randy Dunlap 提交于
      The kernel-api docbook was much larger than any of the others,
      so processing it took longer and needed some docbook extras in
      some cases, so split it into kernel-api (infrastructure etc.)
      and device drivers/device subsystems.  This allows these docbooks
      to be generated in parallel.  (This reduced the docbook processing
      time on my 4-proc system with make -j4 from about 5min:16sec to
      about 2min:01sec.)
      
      The chapters that were moved from kernel-api to device-drivers are:
      
      Driver Basics
      Device drivers infrastructure
      Parallel Port Devices
      Message-based devices
      Sound Devices
      16x50 UART Driver
      Frame Buffer Library
      Input Subsystem
      Serial Peripheral Interface (SPI)
      I2C and SMBus Subsystem
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f7f84f38
  14. 27 10月, 2008 1 次提交
    • R
      docbooks: fix fatal filename errors · a1a739c5
      Randy Dunlap 提交于
      Fix docbook fatal errors (file location changed):
      
      docproc: lin2628-rc1/include/asm-x86/io_32.h: No such file or directory
      make[1]: *** [Documentation/DocBook/deviceiobook.xml] Error 1
      
      docproc: lin2628-rc1/include/asm-x86/atomic_32.h: No such file or directory
      make[1]: *** [Documentation/DocBook/kernel-api.xml] Error 1
      
      docproc: lin2628-rc1/include/asm-x86/mca_dma.h: No such file or directory
      make[1]: *** [Documentation/DocBook/mcabook.xml] Error 1
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a1a739c5
  15. 09 10月, 2008 1 次提交
  16. 20 8月, 2008 1 次提交
  17. 29 4月, 2008 1 次提交
  18. 28 4月, 2008 1 次提交
  19. 20 4月, 2008 1 次提交
  20. 04 3月, 2008 1 次提交
  21. 14 2月, 2008 4 次提交
  22. 07 2月, 2008 1 次提交
  23. 31 1月, 2008 1 次提交
  24. 20 10月, 2007 1 次提交
    • R
      kernel-api docbook: fix content problems · 8f731f7d
      Randy Dunlap 提交于
      Fix kernel-api docbook contents problems.
      
      docproc: linux-2.6.23-git13/include/asm-x86/unaligned_32.h: No such file or directory
      Warning(linux-2.6.23-git13//include/linux/list.h:482): bad line: 			of list entry
      Warning(linux-2.6.23-git13//mm/filemap.c:864): No description found for parameter 'ra'
      Warning(linux-2.6.23-git13//block/ll_rw_blk.c:3760): No description found for parameter 'req'
      Warning(linux-2.6.23-git13//include/linux/input.h:1077): No description found for parameter 'private'
      Warning(linux-2.6.23-git13//include/linux/input.h:1077): No description found for parameter 'cdev'
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: WU Fengguang <wfg@mail.ustc.edu.cn>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8f731f7d
  25. 17 10月, 2007 2 次提交
  26. 14 10月, 2007 1 次提交
  27. 11 10月, 2007 1 次提交
    • S
      [NET]: Make NAPI polling independent of struct net_device objects. · bea3348e
      Stephen Hemminger 提交于
      Several devices have multiple independant RX queues per net
      device, and some have a single interrupt doorbell for several
      queues.
      
      In either case, it's easier to support layouts like that if the
      structure representing the poll is independant from the net
      device itself.
      
      The signature of the ->poll() call back goes from:
      
      	int foo_poll(struct net_device *dev, int *budget)
      
      to
      
      	int foo_poll(struct napi_struct *napi, int budget)
      
      The caller is returned the number of RX packets processed (or
      the number of "NAPI credits" consumed if you want to get
      abstract).  The callee no longer messes around bumping
      dev->quota, *budget, etc. because that is all handled in the
      caller upon return.
      
      The napi_struct is to be embedded in the device driver private data
      structures.
      
      Furthermore, it is the driver's responsibility to disable all NAPI
      instances in it's ->stop() device close handler.  Since the
      napi_struct is privatized into the driver's private data structures,
      only the driver knows how to get at all of the napi_struct instances
      it may have per-device.
      
      With lots of help and suggestions from Rusty Russell, Roland Dreier,
      Michael Chan, Jeff Garzik, and Jamal Hadi Salim.
      
      Bug fixes from Thomas Graf, Roland Dreier, Peter Zijlstra,
      Joseph Fannin, Scott Wood, Hans J. Koch, and Michael Chan.
      
      [ Ported to current tree and all drivers converted.  Integrated
        Stephen's follow-on kerneldoc additions, and restored poll_list
        handling to the old style to fix mutual exclusion issues.  -DaveM ]
      Signed-off-by: NStephen Hemminger <shemminger@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bea3348e
  28. 01 8月, 2007 2 次提交
  29. 27 7月, 2007 1 次提交
  30. 20 7月, 2007 1 次提交
  31. 19 7月, 2007 1 次提交
  32. 18 7月, 2007 1 次提交
  33. 12 7月, 2007 1 次提交
  34. 10 7月, 2007 1 次提交
  35. 09 5月, 2007 1 次提交