HomeFreeBSD

usbtest: Fix issue when multiple devices are sharing same USB vendor and…

Description

usbtest: Fix issue when multiple devices are sharing same USB vendor and product ID.

When there are multiple devices sharing the same USB vendor and product ID,
the wrong device may be selected. Fix this by also matching the bus and
device address, ugen<X>.<Y> .

Sponsored by: NVIDIA Networking

(cherry picked from commit 16346e1401b8b369e251bc70781349fb9b813cef)

Details

Provenance
hselaskyAuthored on Mar 13 2022, 2:17 PM
Parents
rG2a719333189d: dumpon: use underlying device if encrypted swap is in use
Branches
Unknown
Tags
Unknown