File tree Expand file tree Collapse file tree
checkbox-support/checkbox_support Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,6 +98,11 @@ def get_udev_block_devices(udev_client):
9898def get_udev_xhci_devices (udev_client ):
9999 """
100100 Get a list of all devices on pci slots using xhci drivers
101+
102+ Detects various xHCI driver variants including:
103+ - xhci_hcd (generic)
104+ - xhci-hcd (ARM variant)
105+ - xhci-pci-renesas (Renesas-specific)
101106 """
102107 # setup an enumerator so that we can list devices
103108 enumerator = GUdev .Enumerator (client = udev_client )
@@ -106,7 +111,7 @@ def get_udev_xhci_devices(udev_client):
106111 devices = [
107112 device
108113 for device in enumerator .execute ()
109- if ( device .get_driver () == "xhci_hcd " )
114+ if device .get_driver () and device . get_driver (). startswith ( "xhci " )
110115 ]
111116 # Sort the list, this is not needed but makes various debugging dumps
112117 # look better.
Original file line number Diff line number Diff line change @@ -511,6 +511,7 @@ def get_disks_xhci(self):
511511 if (
512512 device .get_driver () == "xhci-hcd"
513513 or device .get_driver () == "xhci_hcd"
514+ or device .get_driver () == "xhci-pci-renesas"
514515 )
515516 ]
516517 for udev_device_xhci in udev_devices_xhci :
You can’t perform that action at this time.
0 commit comments