1. 23 12月, 2012 1 次提交
  2. 13 1月, 2012 2 次提交
  3. 22 5月, 2010 1 次提交
  4. 02 3月, 2010 1 次提交
    • M
      i2c: Make PCI device ids constant · 4111ecd2
      Márton Németh 提交于
      The id_table field of the struct pci_driver is constant in <linux/pci.h>
      so it is worth to make initialization data also constant.
      
      The semantic match that finds this kind of pattern is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r@
      disable decl_init,const_decl_init;
      identifier I1, I2, x;
      @@
      	struct I1 {
      	  ...
      	  const struct I2 *x;
      	  ...
      	};
      @s@
      identifier r.I1, y;
      identifier r.x, E;
      @@
      	struct I1 y = {
      	  .x = E,
      	};
      @c@
      identifier r.I2;
      identifier s.E;
      @@
      	const struct I2 E[] = ... ;
      @depends on !c@
      identifier r.I2;
      identifier s.E;
      @@
      +	const
      	struct I2 E[] = ...;
      // </smpl>
      Signed-off-by: NMárton Németh <nm127@freemail.hu>
      Cc: Julia Lawall <julia@diku.dk>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      4111ecd2
  5. 07 12月, 2009 1 次提交
  6. 05 5月, 2009 1 次提交
  7. 27 1月, 2009 1 次提交
  8. 07 1月, 2009 1 次提交
  9. 15 7月, 2008 4 次提交
    • J
      i2c: Drop stray references to lm_sensors · 954a9930
      Jean Delvare 提交于
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      954a9930
    • J
      i2c: Check for ACPI resource conflicts · 54fb4a05
      Jean Delvare 提交于
      Check for ACPI resource conflicts in i2c bus drivers. I've included
      all recent SMBus master drivers for PC hardware.
      
      I've voluntarily left out:
      * Drivers that don't run on PCs: they can't conflict with ACPI.
      * Bit-banged bus device drivers: it's very unlikely that ACPI would
        deal with such buses.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      54fb4a05
    • J
      i2c: Let bus drivers add SPD to their class · 3401b2ff
      Jean Delvare 提交于
      Let general purpose I2C/SMBus bus drivers add SPD to their class. Once
      this is done, we will be able to tell the eeprom driver to only probe
      for SPD EEPROMs and similar on these buses.
      
      Note that I took a conservative approach here, adding I2C_CLASS_SPD to
      many drivers that have no idea whether they can host SPD EEPROMs or not.
      This is to make sure that the eeprom driver doesn't stop probing buses
      where SPD EEPROMs or equivalent live.
      
      So, bus driver maintainers and users should feel free to remove the SPD
      class from drivers those buses never have SPD EEPROMs or they don't
      want the eeprom driver to bind to them. Likewise, feel free to add the
      SPD class to any bus driver I might have missed.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      3401b2ff
    • D
      i2c: Bus drivers return -Errno not -1 · 97140342
      David Brownell 提交于
      Tighten error paths used by various i2c adapters (mostly x86) so
      they return real fault/errno codes instead of a "-1" (which is
      most often interpreted as "-EPERM").  Build tested, with eyeball
      review.
      
      One minor initial goal is to have adapters consistently return
      the code "-ENXIO" when addressing a device doesn't get an ACK
      response, at least in the probe paths where they are already
      good at stifling related logspam.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      97140342
  10. 30 4月, 2008 2 次提交
  11. 12 7月, 2007 1 次提交
  12. 18 2月, 2007 1 次提交
  13. 14 2月, 2007 1 次提交
  14. 27 9月, 2006 1 次提交
  15. 11 11月, 2005 1 次提交
  16. 29 10月, 2005 3 次提交
  17. 06 9月, 2005 2 次提交
  18. 12 7月, 2005 1 次提交
  19. 22 6月, 2005 1 次提交
  20. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4