mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	parisc: Remove unused pcibios_init_bus()
There are no callers of pcibios_init_bus(), so remove it. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
		
							parent
							
								
									e46e31a369
								
							
						
					
					
						commit
						5f0e9b4c30
					
				
					 1 changed files with 0 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -171,24 +171,6 @@ void pcibios_set_master(struct pci_dev *dev)
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void __init pcibios_init_bus(struct pci_bus *bus)
 | 
			
		||||
{
 | 
			
		||||
	struct pci_dev *dev = bus->self;
 | 
			
		||||
	unsigned short bridge_ctl;
 | 
			
		||||
 | 
			
		||||
	/* We deal only with pci controllers and pci-pci bridges. */
 | 
			
		||||
	if (!dev || (dev->class >> 8) != PCI_CLASS_BRIDGE_PCI)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	/* PCI-PCI bridge - set the cache line and default latency
 | 
			
		||||
	   (32) for primary and secondary buses. */
 | 
			
		||||
	pci_write_config_byte(dev, PCI_SEC_LATENCY_TIMER, 32);
 | 
			
		||||
 | 
			
		||||
	pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &bridge_ctl);
 | 
			
		||||
	bridge_ctl |= PCI_BRIDGE_CTL_PARITY | PCI_BRIDGE_CTL_SERR;
 | 
			
		||||
	pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bridge_ctl);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * pcibios align resources() is called every time generic PCI code
 | 
			
		||||
 * wants to generate a new address. The process of looking for
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue