Don't enable PUC_FASTINTR by default in the source. Instead, enable it

via the DEFAULTS kernel configs.  This allows folks to turn it that option
off in the kernel configs if desired without having to hack the source.
This is especially useful since PUC_FASTINTR hangs the kernel boot on my
ultra60 which has two uart(4) devices hung off of a puc(4) device.

I did not enable PUC_FASTINTR by default on powerpc since powerpc does not
currently allow sharing of INTR_FAST with non-INTR_FAST like the other
archs.
This commit is contained in:
John Baldwin 2005-11-21 20:22:35 +00:00
parent d0750fb9b0
commit 7417e80b4e
7 changed files with 12 additions and 4 deletions

View File

@ -8,3 +8,5 @@
# Pseudo devices.
device mem # Memory and kernel memory devices
options PUC_FASTINTR

View File

@ -12,3 +12,5 @@ device isa
# Pseudo devices.
device mem # Memory and kernel memory devices
device io # I/O device
options PUC_FASTINTR

View File

@ -83,10 +83,6 @@ __FBSDID("$FreeBSD$");
#include "opt_puc.h"
#ifndef PUC_FASTINTR
#define PUC_FASTINTR
#endif
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>

View File

@ -15,3 +15,5 @@ device npx
# Pseudo devices.
device mem # Memory and kernel memory devices
device io # I/O device
options PUC_FASTINTR

View File

@ -11,3 +11,5 @@ device acpi # ACPI support
# Pseudo devices.
device mem # Memory and kernel memory devices
options PUC_FASTINTR

View File

@ -16,3 +16,5 @@ device npx
# Pseudo devices.
device mem # Memory and kernel memory devices
device io # I/O device
options PUC_FASTINTR

View File

@ -8,3 +8,5 @@
# Pseudo devices.
device mem # Memory and kernel memory devices
options PUC_FASTINTR