aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mptable
diff options
context:
space:
mode:
authorNeel Natu <neel@FreeBSD.org>2012-12-21 01:31:56 +0000
committerNeel Natu <neel@FreeBSD.org>2012-12-21 01:31:56 +0000
commit5b87feb64add89f17d58334315dfab28f24b1eea (patch)
tree3d92e98fbf849b0375a21f7eddf5cc609a83c4aa /usr.sbin/mptable
parentec6509897a60f1ee51f96239f376dba968a2e8d4 (diff)
downloadsrc-5b87feb64add89f17d58334315dfab28f24b1eea.tar.gz
src-5b87feb64add89f17d58334315dfab28f24b1eea.zip
Notes
Diffstat (limited to 'usr.sbin/mptable')
-rw-r--r--usr.sbin/mptable/mptable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mptable/mptable.c b/usr.sbin/mptable/mptable.c
index 3c38ccfa4d5a..dee8449fc0ab 100644
--- a/usr.sbin/mptable/mptable.c
+++ b/usr.sbin/mptable/mptable.c
@@ -270,8 +270,8 @@ static void pnstr( char* s, int c );
/* global data */
static int pfd; /* physical /dev/mem fd */
-static int busses[16];
-static int apics[16];
+static int busses[256];
+static int apics[256];
static int ncpu;
static int nbus;
@@ -711,7 +711,7 @@ MPConfigTableHeader( u_int32_t pap )
printf( "MP Config Base Table Entries:\n\n" );
/* initialze tables */
- for ( x = 0; x < 16; ++x ) {
+ for ( x = 0; x < 256; ++x ) {
busses[ x ] = apics[ x ] = 0xff;
}