diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-02-06 01:19:01 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-02-06 01:19:01 +0000 |
commit | 4ab2d149d46c6762c9b8d9fd24d0bf92b10704f6 (patch) | |
tree | 16fc6d45a819f83c5a56b8e7d412b4f0f1e9252b /sys/src/cmd/rio | |
parent | fc0357b3decd0dc9848892a823d63070fde09a89 (diff) |
nusb/usbd: use per hname collision counter instead of device address to resolve collisions
The device address is highly variable and depends on
all prior enumerated devices.
This can happen with some devices that do not have
a serial number and all devices of the same type
having the same hname.
Using a counter of collisions per hname makes more sense
and is more stable (given that the order devices are
enumerated is deterministic).
Diffstat (limited to 'sys/src/cmd/rio')
0 files changed, 0 insertions, 0 deletions