1. 09 1月, 2007 3 次提交
  2. 06 1月, 2007 1 次提交
  3. 04 1月, 2007 1 次提交
    • D
      i2c: Migration aids for i2c_adapter.dev removal · b119dc3f
      David Brownell 提交于
      Flag i2c_adapter.dev for removal after userspace tools get upgraded, and
      include a near-term code migration aid to facilitate this:
      
       - The class device gets the name attribute it should have had.  This
         was previously (wrongly) associated with the i2c_adapter.dev node.
         Sysfs based tools and libraries can start converting right away.
      
       - Issue a warning for legacy adapter drivers that don't provide any
         physical device node; so systems with those drivers will know to
         fix this problem earlier.
      
      This is one of a series of patches to help the I2C stack become a better
      citizen of the Linux Driver Model world.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      b119dc3f
  4. 31 12月, 2006 4 次提交
  5. 23 12月, 2006 1 次提交
  6. 21 12月, 2006 1 次提交
    • A
      UHCI: module parameter to ignore overcurrent changes · 5f8364b7
      Alan Stern 提交于
      Certain boards seem to like to issue false overcurrent notifications,
      for example on ports that don't have anything connected to them.  This
      looks like a hardware error, at the level of noise to those ports'
      overcurrent input signals (or non-debounced VBUS comparators).  This
      surfaces to users as truly massive amounts of syslog spam from khubd
      (which is appropriate for real hardware problems, except for the
      volume from multiple ports).
      
      Using this new "ignore_oc" flag helps such systems work more sanely,
      by preventing such indications from getting to khubd (and spamming
      syslog).  The downside is of course that true overcurrent errors will
      be masked; they'll appear as spontaneous disconnects, without the
      diagnostics that will let users troubleshoot issues like
      short-circuited cables.  In addition, controllers with no devices
      attached will be forced to poll for new devices rather than relying on
      interrupts, since each overcurrent event would generate a new
      interrupt.
      
      This patch (as826) is essentially a copy of David Brownell's ignore_oc
      patch for ehci-hcd, ported to uhci-hcd.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      5f8364b7
  7. 20 12月, 2006 3 次提交
  8. 18 12月, 2006 1 次提交
  9. 14 12月, 2006 4 次提交
  10. 13 12月, 2006 7 次提交
  11. 12 12月, 2006 1 次提交
  12. 11 12月, 2006 10 次提交
    • J
      i2c: i2c-i801 documentation update · a980a99a
      Jason Gaston 提交于
      Add the Intel ICH9/ICH8/ESB2 SMBus Controller text to
      i2c-i801 documentation.
      Signed-off-by: NJason Gaston <jason.d.gaston@intel.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      a980a99a
    • H
      i2c: Cleanups to the i2c-nforce2 bus driver · ad04d5c3
      Hans-Frieder Vogt 提交于
      Summary of changes:
      
      - fixes:
         o legacy I/O region size is 64 bytes, not 8 bytes
      - general cleanup:
         o removed code for the unsupported I2C block data, block data,
            proc call and block proc call transfer modes
         o removed detail warnings about unsupported modes that are
           covered in a general warning (unsupported transaction...)
           anyway
         o removed necessity of a definition of struct i2c_adapter
         o moved definition of struct i2c_algorithm, making forward
           declarations of nforce2_access and nforce2_func unnecessary
      - minor changes:
         o in the description mention the nForce 5xx chipsets
         o changes my e-mail address in MODULE_AUTHOR
      
      Theses cleanups shrink the driver binary size from 4.0 kB to 2.7 kB
      on i386.
      Signed-off-by: NHans-Frieder Vogt <hfvogt@gmx.net>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      ad04d5c3
    • J
      i2c: Delete the broken i2c-ite bus driver · 51fd554b
      Jean Delvare 提交于
      The rest of the ITE8172 support was already removed from MIPS tree.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      51fd554b
    • J
      i2c: Fix documentation typos · 26f95c4a
      Jean Delvare 提交于
      Fix typos in i2c bus drivers documentation.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      26f95c4a
    • A
      [PATCH] io-accounting: add to getdelays · cf709844
      Andrew Morton 提交于
      Wire up the IO accounting into getdelays.c.
      
      Usage:
      
      To display I/O stats for each exitting task:
      
      vmm:/home/akpm> ./getdelays -m0,1,2,3 -i -l
      cpumask 0 maskset 1
      printing IO accounting
      listen forever
      rm: read=8192, write=0, cancelled_write=0
      cvs: read=733184, write=4255744, cancelled_write=4096
      make: read=217088, write=0, cancelled_write=0
      cc1: read=4263936, write=12288, cancelled_write=0
      as: read=811008, write=8192, cancelled_write=0
      gcc: read=323584, write=0, cancelled_write=12288
      cc1: read=0, write=8192, cancelled_write=0
      as: read=4096, write=4096, cancelled_write=0
      gcc: read=16384, write=0, cancelled_write=4096
      as: read=4096, write=4096, cancelled_write=0
      gcc: read=16384, write=0, cancelled_write=8192
      ld: read=1011712, write=16384, cancelled_write=0
      collect2: read=626688, write=0, cancelled_write=0
      gcc: read=204800, write=0, cancelled_write=0
      cc1: read=0, write=8192, cancelled_write=0
      as: read=4096, write=4096, cancelled_write=0
      gcc: read=16384, write=0, cancelled_write=8192
      ld: read=8192, write=16384, cancelled_write=0
      collect2: read=49152, write=0, cancelled_write=0
      gcc: read=0, write=0, cancelled_write=0
      cc1: read=0, write=4096, cancelled_write=0
      ld: read=4096, write=12288, cancelled_write=0
      collect2: read=49152, write=0, cancelled_write=0
      gcc: read=0, write=0, cancelled_write=0
      
      To display I/O stats for a particular presently-running task:
      
      vmm:/home/akpm> ./getdelays -i -p $(pidof crond)
      printing IO accounting
      crond: read=61440, write=0, cancelled_write=0
      
      Cc: Jay Lan <jlan@sgi.com>
      Cc: Shailabh Nagar <nagar@watson.ibm.com>
      Cc: Balbir Singh <balbir@in.ibm.com>
      Cc: Chris Sturtivant <csturtiv@sgi.com>
      Cc: Tony Ernst <tee@sgi.com>
      Cc: Guillaume Thouvenin <guillaume.thouvenin@bull.net>
      Cc: David Wright <daw@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cf709844
    • A
      [PATCH] getdelays: various fixes · d2f7bf13
      Andrew Morton 提交于
      - Various cleanups
      
      - Report errors to stderr, not stdout
      
      - A printf was missing a \n and was hiding from me.
      
      Cc: Jay Lan <jlan@sgi.com>
      Cc: Shailabh Nagar <nagar@watson.ibm.com>
      Cc: Balbir Singh <balbir@in.ibm.com>
      Cc: Chris Sturtivant <csturtiv@sgi.com>
      Cc: Tony Ernst <tee@sgi.com>
      Cc: Guillaume Thouvenin <guillaume.thouvenin@bull.net>
      Cc: David Wright <daw@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d2f7bf13
    • C
      [PATCH] Document how to decode an IOCTL number · cf1b939e
      Chuck Ebbert 提交于
      Document how to decode a binary IOCTL number.
      Signed-off-by: NChuck Ebbert <76306.1226@compuserve.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cf1b939e
    • A
      [PATCH] submit checklist update · 0dd4e5b8
      Andrew Morton 提交于
      Mention the new fault-injection test framework.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0dd4e5b8
    • R
      [PATCH] CodingStyle updates · b3fc9941
      Randy Dunlap 提交于
      Add some kernel coding style comments, mostly pulled from emails
      by Andrew Morton, Jesper Juhl, and Randy Dunlap.
      
      - add paragraph on switch/case indentation (with fixes)
      - add paragraph on multiple-assignments
      - add more on Braces
      - add section on Spaces; add typeof, alignof, & __attribute__ with sizeof;
        add more on postfix/prefix increment/decrement operators
      - add paragraph on function breaks in source files; add info on
        function prototype parameter names
      - add paragraph on EXPORT_SYMBOL placement
      - add section on /*-comment style, long-comment style, and data
        declarations and comments
      - correct some chapter number references that were missed when
        chapters were renumbered
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NJesper Juhl <jesper.juhl@gmail.com>
      Acked-by: NJan Engelhardt <jengelh@gmx.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b3fc9941
    • S
      [PATCH] spi: stabilize PIO mode transfers on PXA2xx systems · 8d94cc50
      Stephen Street 提交于
      Stabilize PIO mode transfers against a range of word sizes and FIFO
      thresholds and fixes word size setup/override issues.
      
      1) 16 and 32 bit DMA/PIO transfers broken due to timing differences.
      2) Potential for bad transfer counts due to transfer size assumptions.
      3) Setup function broken is multiple ways.
      4) Per transfer bit_per_word changes break DMA setup in pump_tranfers.
      5) False positive timeout are not errors.
      6) Changes in pxa2xx_spi_chip not effective in calls to setup.
      7) Timeout scaling wrong for PXA255 NSSP.
      8) Driver leaks memory while busy during unloading.
      
      Known issues:
      
      SPI_CS_HIGH and SPI_LSB_FIRST settings in struct spi_device are not handled.
      
      Testing:
      
      This patch has been test against the "random length, random bits/word,
      random data (verified on loopback) and stepped baud rate by octaves
      (3.6MHz to 115kHz)" test.  It is robust in PIO mode, using any
      combination of tx and rx thresholds, and also in DMA mode (which
      internally computes the thresholds).
      
      Much thanks to Ned Forrester for exhaustive reviews, fixes and testing.
      The driver is substantially better for his efforts.
      Signed-off-by: NStephen Street <stephen@streetfiresound.com>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      8d94cc50
  13. 10 12月, 2006 3 次提交