--- src/sys/i386/i386/Attic/nexus.c 2005/05/24 20:59:05 1.14 +++ src/sys/i386/i386/Attic/nexus.c 2005/05/25 01:44:04 1.15 @@ -538,15 +538,19 @@ nexus_setup_intr(device_t bus, device_t mask = &cam_imask; break; case INTR_TYPE_CLK: - mask = 0; + mask = NULL; printf("nexus: Warning: do not know what imask to use for INTR_TYPE_CLK\n"); break; case INTR_TYPE_MISC: - mask = 0; + mask = NULL; break; default: panic("still using grody create_intr interface"); } + if (serializer && mask != NULL) { + device_printf(child, "nexus_setup_intr: Warning, driver must set interrupt type to INTR_TYPE_MISC when using a serializer.\n"); + mask = NULL; + } if (flags & INTR_FAST) icflags |= INTR_FAST;