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:
parent
d0750fb9b0
commit
7417e80b4e
@ -8,3 +8,5 @@
|
||||
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
|
||||
options PUC_FASTINTR
|
||||
|
@ -12,3 +12,5 @@ device isa
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
device io # I/O device
|
||||
|
||||
options PUC_FASTINTR
|
||||
|
@ -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>
|
||||
|
@ -15,3 +15,5 @@ device npx
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
device io # I/O device
|
||||
|
||||
options PUC_FASTINTR
|
||||
|
@ -11,3 +11,5 @@ device acpi # ACPI support
|
||||
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
|
||||
options PUC_FASTINTR
|
||||
|
@ -16,3 +16,5 @@ device npx
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
device io # I/O device
|
||||
|
||||
options PUC_FASTINTR
|
||||
|
@ -8,3 +8,5 @@
|
||||
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
|
||||
options PUC_FASTINTR
|
||||
|
Loading…
x
Reference in New Issue
Block a user