1. 18 7月, 2007 1 次提交
    • R
      IB/ipath: Make a few functions static · da9aec7b
      Roland Dreier 提交于
      Make some functions that are only used in a single .c file static.  In
      addition to being a cleanup, this shrinks the generated code.  On x86_64:
      
      add/remove: 1/3 grow/shrink: 2/1 up/down: 4777/-4956 (-179)
      function                                     old     new   delta
      handle_errors                                  -    3994   +3994
      __verbs_timer                                 42     710    +668
      ipath_do_ruc_send                           2131    2246    +115
      ipath_no_bufs_available                      136       -    -136
      ipath_disarm_senderrbufs                     639       -    -639
      ipath_ib_timer                               658       -    -658
      ipath_intr                                  5878    2355   -3523
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      da9aec7b
  2. 10 7月, 2007 3 次提交
  3. 19 4月, 2007 1 次提交
  4. 29 9月, 2006 2 次提交
  5. 02 7月, 2006 2 次提交
  6. 24 5月, 2006 1 次提交
  7. 01 4月, 2006 1 次提交
    • B
      IB/ipath: misc driver support code · 108ecf0d
      Bryan O'Sullivan 提交于
      EEPROM support, interrupt handling, statistics gathering, and write
      combining management for x86_64.
      
      A note regarding i2c: The Atmel EEPROM hardware we use looks like an
      i2c device electrically, but is not i2c compliant at all from a
      functional perspective.  We tried using the kernel's i2c support to
      talk to it, but failed.
      
      Normal i2c devices have a single 7-bit or 10-bit i2c address that they
      respond to.  Valid 7-bit addresses range from 0x03 to 0x77.  Addresses
      0x00 to 0x02 and 0x78 to 0x7F are special reserved addresses
      (e.g. 0x00 is the "general call" address.)  The Atmel device, on the
      other hand, responds to ALL addresses.  It's designed to be the only
      device on a given i2c bus.  A given i2c device address corresponds to
      the memory address within the i2c device itself.
      
      At least one reason why the linux core i2c stuff won't work for this
      is that it prohibits access to reserved addresses like 0x00, which are
      really valid addresses on the Atmel devices.
      Signed-off-by: NBryan O'Sullivan <bos@pathscale.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      108ecf0d