summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-08-16 10:16:32 +0000
committerpeter <peter@FreeBSD.org>1996-08-16 10:16:32 +0000
commit339b1b78afec214d0cc1fcf781ac379be49a8563 (patch)
tree3580d59089e1f80c3f4b99bf15e9ffdb725d2d40 /sys/i386/isa
parent78010e97353ac36bb98df2733fc45b83c43609e8 (diff)
downloadFreeBSD-src-339b1b78afec214d0cc1fcf781ac379be49a8563.zip
FreeBSD-src-339b1b78afec214d0cc1fcf781ac379be49a8563.tar.gz
restore nsccons variable from rev 1.115 that was deleted in rev 1.136
during phk's staticize/cleanup commits. pstat needs it, the MAXCONS option is not visible anywhere else, and pstat uses it to find the bounds of the sccons[MAXCONS] array, which varies.
Diffstat (limited to 'sys/i386/isa')
-rw-r--r--sys/i386/isa/syscons.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/syscons.c b/sys/i386/isa/syscons.c
index 5d6ea9a..9e933e0 100644
--- a/sys/i386/isa/syscons.c
+++ b/sys/i386/isa/syscons.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: syscons.c,v 1.159 1996/07/01 20:28:38 bde Exp $
+ * $Id: syscons.c,v 1.160 1996/07/30 15:20:08 ache Exp $
*/
#include "sc.h"
@@ -140,6 +140,7 @@ struct tty *sccons[MAXCONS+1];
#define VIRTUAL_TTY(x) &sccons[x]
#define CONSOLE_TTY &sccons[MAXCONS]
static struct tty sccons[MAXCONS+1];
+static int nsccons = MAXCONS; /* for pstat only */
#endif
#define MONO_BUF pa_to_va(0xB0000)
#define CGA_BUF pa_to_va(0xB8000)
OpenPOWER on IntegriCloud