From 81d43b6f9dd7f52fdfd44cc3861d8be78fa96ecb Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 25 Jul 2012 23:18:26 +0200 Subject: kernel: make mp mode and msi interrupts the default. *msi -> *nomsi --- sys/man/8/plan9.ini | 8 ++------ sys/src/9/pc/mp.c | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/sys/man/8/plan9.ini b/sys/man/8/plan9.ini index f41878b18..314590ca5 100644 --- a/sys/man/8/plan9.ini +++ b/sys/man/8/plan9.ini @@ -693,12 +693,8 @@ restricts the kernel to starting at most processors. .SS \fL*apicdebug=\fP Prints a summary of the multiprocessor APIC interrupt configuration. -.SS \fL*msi=\fP -Enables message signaled interrupts on devices that support it (see -.IR icanhasmsi (8)). -It is mutually exclusive with the -.B *nomp= -option. +.SS \fL*nomsi=\fP +Disables message signaled interrupts. .SS \fL*pcimaxbno=value\fP This puts a limit on the maximum bus number probed on a PCI bus (default 7). diff --git a/sys/src/9/pc/mp.c b/sys/src/9/pc/mp.c index b392c6a46..7c5dcaa37 100644 --- a/sys/src/9/pc/mp.c +++ b/sys/src/9/pc/mp.c @@ -579,7 +579,7 @@ msiintrenable(Vctl *v) int tbdf, vno, cap, cpu, ok64; Pcidev *pci; - if(getconf("*msi") == nil) + if(getconf("*nomsi") != nil) return -1; tbdf = v->tbdf; if(tbdf == BUSUNKNOWN || BUSTYPE(tbdf) != BusPCI) -- cgit v1.2.3