i2c-mux adapter names not unique

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The current naming scheme for i2c-mux adapters "i2c-<parent adapter
id>-mux (chan_id <id>)" results in duplicate names if there is more
than one mux device on an i2c adapter since each device will have the
same <parent adapter id>.

For example:

                  +--------+
                  |PCA9548 |
                  |  0x70  |
                  |01234567|
                  +--------+
                   |
        +-----------------------------+
        |             |               |
    +--------+    +--------+     +--------+
    |PCA9548 |    |PCA9548 |     |PCA9548 |
    |  0x73  |    |  0x74  |     |  0x75  |
    |01234567|    |01234567|     |01234567|
    +--------+    +--------+     +--------+


will result in eight sets of duplicate names for the channels coming
off the lower three muxes.

Any suggestions on how to modify i2c-mux.c to make these names unique?

Thanks, Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux