Skip to content
  • Bastien Nocera's avatar
    Rework "discover" code for drivers · df4a6f53
    Bastien Nocera authored
    Check all the drivers for one that'll drive our device in
    question, and prefer ones that have a discover() method that runs
    successfully to a driver without such a method.
    
    This allow drivers to both reject devices (if 2 drivers handle
    the same USB IDs), or a single driver to handle variants of the
    same device (through the devtype out value of the discover method).
    df4a6f53