On 11/10/22 17:46, Patrick Venture wrote:
This allows the devices to be more readily found and specified.
Without setting the id field, they can only be found by device type
name, which doesn't let you specify the second of the same device type
behind a bus.

Tested: Verified that by default the device was findable with the id
'pca954x[77]', for an instance attached at that address.

Signed-off-by: Patrick Venture <vent...@google.com>
Reviewed-by: Hao Wu <wuhao...@google.com>
---
  hw/i2c/i2c_mux_pca954x.c | 22 ++++++++++++++++++++++
  1 file changed, 22 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>

Reply via email to