Beispiel #1
0
 def __init__(self, bar, port):
     """
     find the PCI id corresponding to Colossus
     """
     for key, ids in Colossus.DEVICE_IDs.items():
         try:
             Pci.__init__(self, ids, bar, port)
             break
         except:
             continue
     self.port = port
Beispiel #2
0
 def __init__(self, bar, port):
     Pci.__init__(self, '174a:0a0f', bar, port)