From owner-cvs-sys Tue Aug 22 04:38:40 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id EAA21527 for cvs-sys-outgoing; Tue, 22 Aug 1995 04:38:40 -0700 Received: from haywire.DIALix.COM (haywire.DIALix.COM [192.203.228.65]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id EAA21519 for ; Tue, 22 Aug 1995 04:38:35 -0700 Received: (from news@localhost) by haywire.DIALix.COM (8.7.Beta.11/8.7.Beta.11/DIALix) id TAA28981 for cvs-sys@freebsd.org; Tue, 22 Aug 1995 19:38:24 +0800 (WST) Received: from GATEWAY by haywire.DIALix.COM with netnews for cvs-sys@freebsd.org (problems to: usenet@haywire.dialix.com) To: cvs-sys@freebsd.org Date: 22 Aug 1995 19:38:19 +0800 From: peter@haywire.dialix.com (Peter Wemm) Message-ID: <41cfjb$s9h$1@haywire.DIALix.COM> Organization: DIALix Services, Perth, Australia. References: <199508220313.NAA20713@godzilla.zeta.org.au> Subject: Re: cvs commit: src/sys/i386/isa si.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde@zeta.org.au (Bruce Evans) writes: >> Modified: usr.sbin/sicontrol sicontrol.c >> Log: >> Recognize a new debug option.. "optim" - for watching the L_RINT bypass >> and hotchar selection. >> Modified: sys/i386/include si.h >> Log: >> add a new Debug mode.. "DBG_OPTIM" - for observing the L_RINT bypass >The bypass can also be watched using `pstat -t'. Except pstat doesn't >support si :-). It requires hard-coded configuration :-(. >Bruce Actually, I dont think it's quite that simple... :-( pstat seems to assume that the the tty structure is declared statically like this: struct tty si_tty[NSI]; int nsi_tty = NSI; The si driver dynamically allocates the tty structures, because of the potentially large number of ports (128 per system). pstat would need to be tweaked to be able to be able to look for the pointer, and follow that. It wouldn't be too hard I guess... Hmm. I could probably then remove the "ttystat" option in sicontrol... -Peter