Remove debugging
This commit is contained in:
		@@ -1218,14 +1218,6 @@ static void pci_bridge_route(struct bus *link, scan_state state)
 | 
				
			|||||||
	if (state == PCI_ROUTE_SCAN) {
 | 
						if (state == PCI_ROUTE_SCAN) {
 | 
				
			||||||
		link->secondary = parent->subordinate + 1;
 | 
							link->secondary = parent->subordinate + 1;
 | 
				
			||||||
		link->subordinate = link->secondary + dev->hotplug_buses;
 | 
							link->subordinate = link->secondary + dev->hotplug_buses;
 | 
				
			||||||
		printk(
 | 
					 | 
				
			||||||
			BIOS_DEBUG,
 | 
					 | 
				
			||||||
			"system76: %s: %s: assigning link secondary %d subordinate %d\n",
 | 
					 | 
				
			||||||
			__func__,
 | 
					 | 
				
			||||||
			dev_path(dev),
 | 
					 | 
				
			||||||
			link->secondary,
 | 
					 | 
				
			||||||
			link->subordinate
 | 
					 | 
				
			||||||
		);
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (state == PCI_ROUTE_CLOSE) {
 | 
						if (state == PCI_ROUTE_CLOSE) {
 | 
				
			||||||
@@ -1261,13 +1253,6 @@ static void pci_bridge_route(struct bus *link, scan_state state)
 | 
				
			|||||||
	if (state == PCI_ROUTE_FINAL) {
 | 
						if (state == PCI_ROUTE_FINAL) {
 | 
				
			||||||
		pci_write_config16(dev, PCI_COMMAND, link->bridge_cmd);
 | 
							pci_write_config16(dev, PCI_COMMAND, link->bridge_cmd);
 | 
				
			||||||
		parent->subordinate = link->subordinate;
 | 
							parent->subordinate = link->subordinate;
 | 
				
			||||||
		printk(
 | 
					 | 
				
			||||||
			BIOS_DEBUG,
 | 
					 | 
				
			||||||
			"system76: %s: %s: assigning parent subordinate %d\n",
 | 
					 | 
				
			||||||
			__func__,
 | 
					 | 
				
			||||||
			dev_path(dev),
 | 
					 | 
				
			||||||
			parent->subordinate
 | 
					 | 
				
			||||||
		);
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -92,8 +92,6 @@ void scan_generic_bus(struct device *bus)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		link->secondary = ++bus_max;
 | 
							link->secondary = ++bus_max;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		printk(BIOS_DEBUG, "system76: scan_generic_bus: assigning link secondary %d\n", link->secondary);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		for (child = link->children; child; child = child->sibling) {
 | 
							for (child = link->children; child; child = child->sibling) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (child->chip_ops && child->chip_ops->enable_dev)
 | 
								if (child->chip_ops && child->chip_ops->enable_dev)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user