Date: 22 Aug 1995 19:38:19 +0800 From: peter@haywire.dialix.com (Peter Wemm) To: cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/i386/isa si.c Message-ID: <41cfjb$s9h$1@haywire.DIALix.COM> References: <199508220313.NAA20713@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41cfjb$s9h$1>