From c1bb05ca5822c26353e0bf781439b3ffa9eec599 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 4 May 2012 23:16:29 +0000 Subject: Don't assume we have legacy PICs (i.e. 8259A in cascade) at the legacy I/O port addresses. Even if we do, this is hardly the place to mask interrupts. It's not clear that this was at all needed. The code came with CVS revision 1.2 of nexus.c when interrupt support was first added. What is known is that ia64 has always been designed around the IOSAPIC, and that doing I/O like this prevents Altix from booting. --- sys/ia64/ia64/nexus.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sys/ia64') diff --git a/sys/ia64/ia64/nexus.c b/sys/ia64/ia64/nexus.c index 53f23cb..c232d39 100644 --- a/sys/ia64/ia64/nexus.c +++ b/sys/ia64/ia64/nexus.c @@ -65,9 +65,6 @@ #include -#include -#include - #include "clock_if.h" static MALLOC_DEFINE(M_NEXUSDEV, "nexusdev", "Nexus device"); @@ -191,12 +188,6 @@ static int nexus_attach(device_t dev) { - /* - * Mask the legacy PICs - we will use the I/O SAPIC for interrupt. - */ - outb(IO_ICU1+1, 0xff); - outb(IO_ICU2+1, 0xff); - if (acpi_identify() == 0) BUS_ADD_CHILD(dev, 10, "acpi", 0); clock_register(dev, 1000); -- cgit v1.1