mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
[IA64] altix: misc pci interrupt related fixes
Fix a couple of altix interrupt related bugs. Signed-off-by: Mark Maule <maule@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
cbb9214434
commit
6fb93a92ec
2 changed files with 3 additions and 3 deletions
|
@ -212,13 +212,13 @@ void pcibr_target_interrupt(struct sn_irq_info *sn_irq_info)
|
||||||
pdi_pcibus_info;
|
pdi_pcibus_info;
|
||||||
|
|
||||||
/* Disable the device's IRQ */
|
/* Disable the device's IRQ */
|
||||||
pcireg_intr_enable_bit_clr(pcibus_info, bit);
|
pcireg_intr_enable_bit_clr(pcibus_info, (1 << bit));
|
||||||
|
|
||||||
/* Change the device's IRQ */
|
/* Change the device's IRQ */
|
||||||
pcireg_intr_addr_addr_set(pcibus_info, bit, xtalk_addr);
|
pcireg_intr_addr_addr_set(pcibus_info, bit, xtalk_addr);
|
||||||
|
|
||||||
/* Re-enable the device's IRQ */
|
/* Re-enable the device's IRQ */
|
||||||
pcireg_intr_enable_bit_set(pcibus_info, bit);
|
pcireg_intr_enable_bit_set(pcibus_info, (1 << bit));
|
||||||
|
|
||||||
pcibr_force_interrupt(sn_irq_info);
|
pcibr_force_interrupt(sn_irq_info);
|
||||||
}
|
}
|
||||||
|
|
|
@ -131,7 +131,7 @@ void pcireg_intr_enable_bit_clr(struct pcibus_info *pcibus_info, uint64_t bits)
|
||||||
__sn_clrq_relaxed(&ptr->tio.cp_int_enable, bits);
|
__sn_clrq_relaxed(&ptr->tio.cp_int_enable, bits);
|
||||||
break;
|
break;
|
||||||
case PCIBR_BRIDGETYPE_PIC:
|
case PCIBR_BRIDGETYPE_PIC:
|
||||||
__sn_clrq_relaxed(&ptr->pic.p_int_enable, ~bits);
|
__sn_clrq_relaxed(&ptr->pic.p_int_enable, bits);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
panic
|
panic
|
||||||
|
|
Loading…
Add table
Reference in a new issue