diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/kernel/sys_nautilus.c | 6 | ||||
-rw-r--r-- | arch/alpha/kernel/sys_sx164.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/alpha/kernel/sys_nautilus.c b/arch/alpha/kernel/sys_nautilus.c index e7594a7cf585..920196bcbb61 100644 --- a/arch/alpha/kernel/sys_nautilus.c +++ b/arch/alpha/kernel/sys_nautilus.c | |||
@@ -70,6 +70,12 @@ nautilus_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | |||
70 | /* Preserve the IRQ set up by the console. */ | 70 | /* Preserve the IRQ set up by the console. */ |
71 | 71 | ||
72 | u8 irq; | 72 | u8 irq; |
73 | /* UP1500: AGP INTA is actually routed to IRQ 5, not IRQ 10 as | ||
74 | console reports. Check the device id of AGP bridge to distinguish | ||
75 | UP1500 from UP1000/1100. Note: 'pin' is 2 due to bridge swizzle. */ | ||
76 | if (slot == 1 && pin == 2 && | ||
77 | dev->bus->self && dev->bus->self->device == 0x700f) | ||
78 | return 5; | ||
73 | pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); | 79 | pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); |
74 | return irq; | 80 | return irq; |
75 | } | 81 | } |
diff --git a/arch/alpha/kernel/sys_sx164.c b/arch/alpha/kernel/sys_sx164.c index 94ad68b7c0ae..41d4ad4c7c44 100644 --- a/arch/alpha/kernel/sys_sx164.c +++ b/arch/alpha/kernel/sys_sx164.c | |||
@@ -132,7 +132,7 @@ sx164_init_arch(void) | |||
132 | 132 | ||
133 | if (amask(AMASK_MAX) != 0 | 133 | if (amask(AMASK_MAX) != 0 |
134 | && alpha_using_srm | 134 | && alpha_using_srm |
135 | && (cpu->pal_revision & 0xffff) == 0x117) { | 135 | && (cpu->pal_revision & 0xffff) <= 0x117) { |
136 | __asm__ __volatile__( | 136 | __asm__ __volatile__( |
137 | "lda $16,8($31)\n" | 137 | "lda $16,8($31)\n" |
138 | "call_pal 9\n" /* Allow PALRES insns in kernel mode */ | 138 | "call_pal 9\n" /* Allow PALRES insns in kernel mode */ |