From cc349843cc6e2c032a25b041d20cbb5fadb0c1b8 Mon Sep 17 00:00:00 2001 From: fsmp Date: Thu, 22 May 1997 22:55:05 +0000 Subject: Made 'options NINTR' greater of 24 and calculated value. This coincides with changing kernel default to 64. --- usr.sbin/mptable/mptable.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'usr.sbin/mptable') 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" ); -- cgit v1.1