diff --git a/sys/amd64/isa/intr_machdep.c b/sys/amd64/isa/intr_machdep.c index 26e8348ae04e..c17806f961d0 100644 --- a/sys/amd64/isa/intr_machdep.c +++ b/sys/amd64/isa/intr_machdep.c @@ -481,8 +481,10 @@ icu_setup(int intr, driver_intr_t *handler, void *arg, int flags) if ((u_int)intr >= ICU_LEN || intr == ICU_SLAVEID) #endif /* APIC_IO */ return (EINVAL); +#if 0 if (intr_handler[intr] != isa_strayintr) return (EBUSY); +#endif ef = read_eflags(); disable_intr(); diff --git a/sys/amd64/isa/nmi.c b/sys/amd64/isa/nmi.c index 26e8348ae04e..c17806f961d0 100644 --- a/sys/amd64/isa/nmi.c +++ b/sys/amd64/isa/nmi.c @@ -481,8 +481,10 @@ icu_setup(int intr, driver_intr_t *handler, void *arg, int flags) if ((u_int)intr >= ICU_LEN || intr == ICU_SLAVEID) #endif /* APIC_IO */ return (EINVAL); +#if 0 if (intr_handler[intr] != isa_strayintr) return (EBUSY); +#endif ef = read_eflags(); disable_intr(); diff --git a/sys/i386/isa/intr_machdep.c b/sys/i386/isa/intr_machdep.c index 26e8348ae04e..c17806f961d0 100644 --- a/sys/i386/isa/intr_machdep.c +++ b/sys/i386/isa/intr_machdep.c @@ -481,8 +481,10 @@ icu_setup(int intr, driver_intr_t *handler, void *arg, int flags) if ((u_int)intr >= ICU_LEN || intr == ICU_SLAVEID) #endif /* APIC_IO */ return (EINVAL); +#if 0 if (intr_handler[intr] != isa_strayintr) return (EBUSY); +#endif ef = read_eflags(); disable_intr(); diff --git a/sys/i386/isa/nmi.c b/sys/i386/isa/nmi.c index 26e8348ae04e..c17806f961d0 100644 --- a/sys/i386/isa/nmi.c +++ b/sys/i386/isa/nmi.c @@ -481,8 +481,10 @@ icu_setup(int intr, driver_intr_t *handler, void *arg, int flags) if ((u_int)intr >= ICU_LEN || intr == ICU_SLAVEID) #endif /* APIC_IO */ return (EINVAL); +#if 0 if (intr_handler[intr] != isa_strayintr) return (EBUSY); +#endif ef = read_eflags(); disable_intr();