File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -399,8 +399,6 @@ def __attrs_post_init__(self):
399399 self .match ['DEVTYPE' ] = 'usb_device'
400400 super ().__attrs_post_init__ ()
401401
402- def filter_match (self , device ):
403- return True
404402
405403@target_factory .reg_resource
406404@attr .s (eq = False )
@@ -426,16 +424,6 @@ def __attrs_post_init__(self):
426424 self .match ['DEVTYPE' ] = 'usb_device'
427425 super ().__attrs_post_init__ ()
428426
429- def filter_match (self , device ):
430- match = (device .properties .get ('ID_VENDOR_ID' ), device .properties .get ('ID_MODEL_ID' ))
431-
432- if match not in [("0403" , "6010" ), # Trenz Electronic TE0790-03
433- ("0403" , "6014" ), # Digilent JTAG-SMT2/JTAG-HS3
434- ("03fd" , "0013" ), # Xilinx Platform Cable USB
435- ("03fd" , "0008" )]: # Xilinx Platform Cable USB II
436- return False
437-
438- return super ().filter_match (device )
439427
440428@target_factory .reg_resource
441429@attr .s (eq = False )
You can’t perform that action at this time.
0 commit comments