diff options
Diffstat (limited to 'arch/x86/pci/irq.c')
| -rw-r--r-- | arch/x86/pci/irq.c | 26 | 
1 files changed, 11 insertions, 15 deletions
diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c index 9f9bfb705cf..84112f55dd7 100644 --- a/arch/x86/pci/irq.c +++ b/arch/x86/pci/irq.c @@ -136,13 +136,9 @@ static void __init pirq_peer_trick(void)  		busmap[e->bus] = 1;  	}  	for (i = 1; i < 256; i++) { -		int node;  		if (!busmap[i] || pci_find_bus(0, i))  			continue; -		node = get_mp_bus_to_node(i); -		if (pci_scan_bus_on_node(i, &pci_root_ops, node)) -			printk(KERN_INFO "PCI: Discovered primary peer " -			       "bus %02x [IRQ]\n", i); +		pcibios_scan_root(i);  	}  	pcibios_last_bus = -1;  } @@ -589,28 +585,28 @@ static __init int intel_router_probe(struct irq_router *r, struct pci_dev *route  	case PCI_DEVICE_ID_INTEL_ICH10_1:  	case PCI_DEVICE_ID_INTEL_ICH10_2:  	case PCI_DEVICE_ID_INTEL_ICH10_3: -	case PCI_DEVICE_ID_INTEL_PATSBURG_LPC: +	case PCI_DEVICE_ID_INTEL_PATSBURG_LPC_0: +	case PCI_DEVICE_ID_INTEL_PATSBURG_LPC_1:  		r->name = "PIIX/ICH";  		r->get = pirq_piix_get;  		r->set = pirq_piix_set;  		return 1;  	} -	if ((device >= PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MIN) &&  -		(device <= PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MAX)) { +	if ((device >= PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MIN &&  +	     device <= PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MAX)  +	||  (device >= PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MIN &&  +	     device <= PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MAX) +	||  (device >= PCI_DEVICE_ID_INTEL_DH89XXCC_LPC_MIN && +	     device <= PCI_DEVICE_ID_INTEL_DH89XXCC_LPC_MAX) +	||  (device >= PCI_DEVICE_ID_INTEL_PANTHERPOINT_LPC_MIN && +	     device <= PCI_DEVICE_ID_INTEL_PANTHERPOINT_LPC_MAX)) {  		r->name = "PIIX/ICH";  		r->get = pirq_piix_get;  		r->set = pirq_piix_set;  		return 1;  	} -	if ((device >= PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MIN) &&  -		(device <= PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MAX)) { -		r->name = "PIIX/ICH"; -		r->get = pirq_piix_get; -		r->set = pirq_piix_set; -		return 1; -	}  	return 0;  }  | 
