Ignore running over maxbusnum for now. release2014-11-06
authorGerd Zellweger <mail@gerdzellweger.com>
Tue, 4 Nov 2014 13:42:49 +0000 (14:42 +0100)
committerGerd Zellweger <mail@gerdzellweger.com>
Tue, 4 Nov 2014 13:42:49 +0000 (14:42 +0100)
usr/pci/pci.c

index 32a5f90..8de27c8 100644 (file)
@@ -594,7 +594,7 @@ static void assign_bus_numbers(struct pci_address parentaddr,
 
                 // Increase by 2 to leave room for SR-IOV
                 (*busnum) += 2;
-                assert(*busnum <= maxchild);
+                //assert(*busnum <= maxchild);
 
                 PCI_DEBUG("program busses for bridge (%hhu,%hhu,%hhu)\n"
                           "primary: %hhu, secondary: %hhu, subordinate: %hhu\n",