summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mptable
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-05-22 22:55:05 +0000
committerfsmp <fsmp@FreeBSD.org>1997-05-22 22:55:05 +0000
commitcc349843cc6e2c032a25b041d20cbb5fadb0c1b8 (patch)
tree4b7acfa2ce7d615b2b2555233ae41c1dafd7b078 /usr.sbin/mptable
parent5a1c8ae0ba8a3d155b1fd30aae218425e8fa0769 (diff)
downloadFreeBSD-src-cc349843cc6e2c032a25b041d20cbb5fadb0c1b8.zip
FreeBSD-src-cc349843cc6e2c032a25b041d20cbb5fadb0c1b8.tar.gz
Made 'options NINTR' greater of 24 and calculated value.
This coincides with changing kernel default to 64.
Diffstat (limited to 'usr.sbin/mptable')
-rw-r--r--usr.sbin/mptable/mptable.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/usr.sbin/mptable/mptable.c b/usr.sbin/mptable/mptable.c
index 60c49f2..336e178 100644
--- a/usr.sbin/mptable/mptable.c
+++ b/usr.sbin/mptable/mptable.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mptable.c,v 1.2 1997/04/30 23:54:55 fsmp Exp $
+ * $Id: mptable.c,v 1.3 1997/05/10 17:46:57 fsmp Exp $
*/
/*
@@ -31,7 +31,7 @@
#define VMAJOR 2
#define VMINOR 0
-#define VDELTA 10
+#define VDELTA 11
/*
* this will cause the raw mp table to be dumped to /tmp/mpdump
@@ -1128,10 +1128,11 @@ doOptionList( void )
printf( "#options SMP_AUTOSTART\t\t# start the additional CPUs during boot\n" );
printf( "\n# Optional (built-in defaults will work in most cases):\n" );
- printf( "options NCPU=%d\t\t\t# number of CPUs\n", ncpu );
- printf( "options NBUS=%d\t\t\t# number of busses\n", nbus );
- printf( "options NAPIC=%d\t\t\t# number of IO APICs\n", napic );
- printf( "options NINTR=%d\t\t# number of INTs\n", 24 /**nintr*/ );
+ printf( "#options NCPU=%d\t\t\t# number of CPUs\n", ncpu );
+ printf( "#options NBUS=%d\t\t\t# number of busses\n", nbus );
+ printf( "#options NAPIC=%d\t\t\t# number of IO APICs\n", napic );
+ printf( "#options NINTR=%d\t\t# number of INTs\n",
+ (nintr < 24) ? 24 : nintr );
printf( "\n# Currently broken:\n" );
printf( "#options SMP_PRIVPAGES\t\t# BROKEN, DO NOT use!\n" );
OpenPOWER on IntegriCloud