1. 27 May, 2021 1 commit
  2. 05 Jun, 2019 1 commit
  3. 22 May, 2014 1 commit
  4. 13 Mar, 2014 1 commit
  5. 24 Jan, 2014 1 commit
  6. 22 Dec, 2012 1 commit
  7. 24 Jul, 2012 1 commit
  8. 12 Jan, 2012 1 commit
  9. 02 Mar, 2010 1 commit
    • Márton Németh's avatar
      i2c: Make PCI device ids constant · 4111ecd2
      Márton Németh authored
      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: default avatarMárton Németh <nm127@freemail.hu>
      Cc: Julia Lawall <julia@diku.dk>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      4111ecd2
  10. 16 Jan, 2010 1 commit
  11. 26 Jan, 2009 1 commit
  12. 07 Jan, 2009 1 commit
  13. 14 Jul, 2008 4 commits
    • Jean Delvare's avatar
      i2c: Check for ACPI resource conflicts · 54fb4a05
      Jean Delvare authored
      
      
      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: default avatarJean Delvare <jdelvare@suse.de>
      54fb4a05
    • Jean Delvare's avatar
      i2c: Let bus drivers add SPD to their class · 3401b2ff
      Jean Delvare authored
      
      
      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: default avatarJean Delvare <khali@linux-fr.org>
      3401b2ff
    • Jean Delvare's avatar
      i2c: Consistently reject unsupported transactions · ac7fc4fb
      Jean Delvare authored
      
      
      Many PC SMBus host controller drivers don't properly handle the case
      where they are requested to achieve a transaction they do not support.
      Update them so that the consistently print a warning message and
      return a single error value in this case.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      ac7fc4fb
    • David Brownell's avatar
      i2c: Bus drivers return -Errno not -1 · 97140342
      David Brownell authored
      
      
      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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      97140342
  14. 13 Feb, 2007 3 commits
  15. 12 Dec, 2006 1 commit
  16. 26 Sep, 2006 1 commit
  17. 11 Nov, 2005 1 commit
  18. 28 Oct, 2005 2 commits
  19. 05 Sep, 2005 2 commits
  20. 31 May, 2005 1 commit
    • R.Marek@sh.cvut.cz's avatar
      [PATCH] I2C: ALI1563 SMBus driver fix · 4a4e5787
      R.Marek@sh.cvut.cz authored
      
      
      This patch fixes "grave" bugs in i2c-ali1563 driver. It seems on recent
      chipset revisions the HSTS_DONE is set only for block transfers, so we
      must detect the end of ordinary transaction other way. Also due to missing
      and mask, setting other transfer modes was not possible. Moreover the
      continous byte mode transfer uses DAT0 for command rather than CMD command.
      All those changes were tested with help of Chunhao Huang from Winbond.
      
      I'm willing to maintain the driver. Second patch adds me as maintainer
      if this is neccessary.
      Signed-Off-By: default avatarRudolf Marek <r.marek@sh.cvut.cz>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      4a4e5787
  21. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      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