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

This commit is contained in:
cinap_lenrek 2012-07-25 23:18:26 +02:00
parent dc544a3462
commit 81d43b6f9d
2 changed files with 3 additions and 7 deletions

View file

@ -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).

View file

@ -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)