Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2750
b: refs/heads/master
c: 7b404b3
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas authored and Tony Luck committed Jun 21, 2005
1 parent 7cba99e commit 21382d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0393eed5c3220c9c3823a09a2d02329b8ff08b45
refs/heads/master: 7b404b3459db1326bbdc7085edb1f58b98da5826
20 changes: 0 additions & 20 deletions trunk/arch/ia64/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#include <asm/hw_irq.h>


static int pci_routeirq;

/*
* Low-level SAL-based PCI configuration access functions. Note that SAL
* calls are already serialized (via sal_lock), so we don't need another
Expand Down Expand Up @@ -139,24 +137,8 @@ static void acpi_map_iosapics(void)
static int __init
pci_acpi_init (void)
{
struct pci_dev *dev = NULL;

printk(KERN_INFO "PCI: Using ACPI for IRQ routing\n");

acpi_map_iosapics();

if (pci_routeirq) {
/*
* PCI IRQ routing is set up by pci_enable_device(), but we
* also do it here in case there are still broken drivers that
* don't use pci_enable_device().
*/
printk(KERN_INFO "PCI: Routing interrupts for all devices because \"pci=routeirq\" specified\n");
for_each_pci_dev(dev)
acpi_pci_irq_enable(dev);
} else
printk(KERN_INFO "PCI: If a device doesn't work, try \"pci=routeirq\". If it helps, post a report\n");

return 0;
}

Expand Down Expand Up @@ -500,8 +482,6 @@ pcibios_align_resource (void *data, struct resource *res,
char * __init
pcibios_setup (char *str)
{
if (!strcmp(str, "routeirq"))
pci_routeirq = 1;
return NULL;
}

Expand Down

0 comments on commit 21382d7

Please sign in to comment.