18 Jul, 2014

2 commits

  • Some chips implement banked register ranges. This allows implementing
    more registers than the limited 8-bit address space originally allows.
    In order to access a register on these chips, you must first select
    the proper bank. Add support for this mechanism to the i2c-stub driver
    so that such chips can be emulated. All the bank settings are passed
    as module parameters.

    Signed-off-by: Jean Delvare
    Tested-by: Guenter Roeck
    Signed-off-by: Wolfram Sang

    Jean Delvare
     
  • SMBus block commands are different to I2C block commands since
    the returned data is not normally accessible with byte or word
    commands on other command offsets. Add linked list of 'block'
    commands to support those commands.

    Access mechanism is quite simple: Block commands must be written
    before they can be read. Subsequent writes can be partial. Block
    read commands always return the number of bytes associated with
    the longest previous write.

    Signed-off-by: Guenter Roeck
    Reviewed-by: Jean Delvare
    Signed-off-by: Wolfram Sang

    Guenter Roeck
     

07 Dec, 2009

3 commits


28 Jan, 2008

2 commits


14 Oct, 2007

1 commit


27 Sep, 2006

1 commit

  • i2c-stub: Chip address as a module parameter

    Add a mandatory chip_addr parameter to i2c-stub. This parameter
    defines to which chip address the driver will respond, instead of
    reponding to all addresses as before. The idea is to prevent the
    users from loading i2c-stub at random and being then confused by
    the results of sensors-detect or other user-space tools.

    Signed-off-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     

17 Apr, 2005

1 commit

  • 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!

    Linus Torvalds