1. 24 6月, 2005 1 次提交
    • M
      [PATCH] tuner-core.c improvments and Ymec Tvision TVF8533MF support · 391cd727
      Mauro Carvalho Chehab 提交于
      tuner-core.c, tuner.h:
      
      - tuner-core changed to support multiple I2C devices used on some
        adapters;
      
      - Kconfig now has an option (CONFIG_TUNER_MULTI_I2C) to enable this new
        behavor;
      
      - By default, even enabling CONFIG_TUNER_MULTI_I2C, tuner-core emulates
        the old behavor, using first I2C device for both FM and TV;
      
      - There is a new i2c command (TUNER_SET_ADDR) to allow tuner clients to
        select I2C address for FM or TV tuner;
      
      - Tuner I2C dettach now generates a warning on syslog if failed.
      
      tuner-simple.c:
      
      - TVision TVF-8531MF and TVF-5533 MF tuner included.  It uses, by
        default, I2C on 0xC2 address for TV and on 0xC0 for Radio.  Both TV and
        FM Radio mode are working.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      391cd727
  2. 22 6月, 2005 1 次提交
    • J
      [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers · b3d5496e
      Jean Delvare 提交于
      Some months ago, you killed the address ranges mechanism from all
      sensors i2c chip drivers (both the module parameters and the in-code
      address lists). I think it was a very good move, as the ranges can
      easily be replaced by individual addresses, and this allowed for
      significant cleanups in the i2c core (let alone the impressive size
      shrink for all these drivers).
      
      Unfortunately you did not do the same for non-sensors i2c chip drivers.
      These need the address ranges even less, so we could get rid of the
      ranges here as well for another significant i2c core cleanup. Here comes
      a patch which does just that. Since the process is exactly the same as
      what you did for the other drivers set already, I did not split this one
      in parts.
      
      A documentation update is included.
      
      The change saves 308 bytes in the i2c core, and an average 1382 bytes
      for chip drivers which use I2C_CLIENT_INSMOD, 126 bytes for those which
      do not.
      
      This change is required if we want to merge the sensors and non-sensors
      i2c code (and we want to do this).
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      Index: gregkh-2.6/Documentation/i2c/writing-clients
      ===================================================================
      b3d5496e
  3. 07 5月, 2005 2 次提交
  4. 17 4月, 2005 3 次提交