git: 9front

Download patch

ref: 5a6af63d8ca1df7e4a069e165de09d525b99f0f0
parent: a45c5f81b4716807db58b169c47c6040a9513976
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Wed Jul 25 19:18:26 EDT 2012

kernel: make mp mode and msi interrupts the default. *msi -> *nomsi

--- a/sys/man/8/plan9.ini
+++ b/sys/man/8/plan9.ini
@@ -693,12 +693,8 @@
 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).
--- a/sys/src/9/pc/mp.c
+++ b/sys/src/9/pc/mp.c
@@ -579,7 +579,7 @@
 	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)
--