diff options
author | ache <ache@FreeBSD.org> | 1995-05-07 23:00:02 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-05-07 23:00:02 +0000 |
commit | 125aa8907e7974cefad633909114ef40fb52284d (patch) | |
tree | 919d4e524b6c347bd4adbfa16773c19b6e9567af /sys | |
parent | c049e12311d7a815f5ead9e3c2381f0a836c5330 (diff) | |
download | FreeBSD-src-125aa8907e7974cefad633909114ef40fb52284d.zip FreeBSD-src-125aa8907e7974cefad633909114ef40fb52284d.tar.gz |
Add hook for pstat -t
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sio/sio.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/sio.c | 4 | ||||
-rw-r--r-- | sys/isa/sio.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 0c0bd27..2834092 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.95 1995/04/15 21:45:16 bde Exp $ + * $Id: sio.c,v 1.96 1995/04/23 12:41:57 bde Exp $ */ #include "sio.h" @@ -304,7 +304,9 @@ static int commajor; #if 0 /* XXX TK2.0 */ struct tty *sio_tty[NSIO]; #else +/* must be not static, used by pstat -t */ struct tty sio_tty[NSIO]; +int nsio_tty = NSIO; #endif #ifdef KGDB diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c index 0c0bd27..2834092 100644 --- a/sys/i386/isa/sio.c +++ b/sys/i386/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.95 1995/04/15 21:45:16 bde Exp $ + * $Id: sio.c,v 1.96 1995/04/23 12:41:57 bde Exp $ */ #include "sio.h" @@ -304,7 +304,9 @@ static int commajor; #if 0 /* XXX TK2.0 */ struct tty *sio_tty[NSIO]; #else +/* must be not static, used by pstat -t */ struct tty sio_tty[NSIO]; +int nsio_tty = NSIO; #endif #ifdef KGDB diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 0c0bd27..2834092 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.95 1995/04/15 21:45:16 bde Exp $ + * $Id: sio.c,v 1.96 1995/04/23 12:41:57 bde Exp $ */ #include "sio.h" @@ -304,7 +304,9 @@ static int commajor; #if 0 /* XXX TK2.0 */ struct tty *sio_tty[NSIO]; #else +/* must be not static, used by pstat -t */ struct tty sio_tty[NSIO]; +int nsio_tty = NSIO; #endif #ifdef KGDB |