summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mptable/mptable.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-09-22 21:07:24 +0000
committermsmith <msmith@FreeBSD.org>2000-09-22 21:07:24 +0000
commit5113d5ee0d6eebc724a00c06239d47eadfde74c8 (patch)
tree6aa683c4e5d8002f6b721e6fe1a074c09b60ea6a /usr.sbin/mptable/mptable.c
parent1d5791834188f4872379d9f3af9934ae88455a9c (diff)
downloadFreeBSD-src-5113d5ee0d6eebc724a00c06239d47eadfde74c8.zip
FreeBSD-src-5113d5ee0d6eebc724a00c06239d47eadfde74c8.tar.gz
Stop printing out the Nfoo options help, since these tunables are about to
go away.
Diffstat (limited to 'usr.sbin/mptable/mptable.c')
-rw-r--r--usr.sbin/mptable/mptable.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/usr.sbin/mptable/mptable.c b/usr.sbin/mptable/mptable.c
index a40d2ff..ef780f0 100644
--- a/usr.sbin/mptable/mptable.c
+++ b/usr.sbin/mptable/mptable.c
@@ -276,7 +276,6 @@ static void sasEntry( void );
static void bhdEntry( void );
static void cbasmEntry( void );
-static void doOptionList( void );
static void doDmesg( void );
static void pnstr( char* s, int c );
@@ -379,9 +378,6 @@ main( int argc, char *argv[] )
else
MPConfigTableHeader( mpfps.pap );
- /* build "options" entries for the kernel config file */
- doOptionList();
-
/* do a dmesg output */
if ( dmesg )
doDmesg();
@@ -1093,28 +1089,6 @@ doDmesg( void )
/*
- * build "options" entries for the kernel config file
- */
-static void
-doOptionList( void )
-{
- puts( SEP_LINE );
-
- printf( "# SMP kernel config file options:\n\n" );
- printf( "\n# Required:\n" );
- printf( "options SMP\t\t\t# Symmetric MultiProcessor Kernel\n" );
- printf( "options APIC_IO\t\t\t# Symmetric (APIC) I/O\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",
- (nintr < 24) ? 24 : nintr );
-}
-
-
-/*
*
*/
static void
OpenPOWER on IntegriCloud