From owner-cvs-src@FreeBSD.ORG Mon Jun 9 08:47:49 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6B10106567C; Mon, 9 Jun 2008 08:47:49 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BFA258FC2B; Mon, 9 Jun 2008 08:47:49 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m598lnUP012260; Mon, 9 Jun 2008 08:47:49 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m598ln6m012259; Mon, 9 Jun 2008 08:47:49 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200806090847.m598ln6m012259@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Mon, 9 Jun 2008 08:43:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/si si.c si.h src/usr.sbin/sicontrol sicontrol.8 sicontrol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 08:47:50 -0000 ed 2008-06-09 08:43:27 UTC FreeBSD src repository Modified files: sys/dev/si si.c si.h usr.sbin/sicontrol sicontrol.8 sicontrol.c Log: SVN rev 179668 on 2008-06-09 08:43:27Z by ed Remove sicontrol(8)'s "ttystat". In the FreeBSD base system, there are only two utilities that use struct tty, namely pstat and sicontrol. The sicontrol utility calls the TCSI_TTY ioctl(), which copies struct tty back to userspace. sicontrol should not have this functionality. The same data is already provided by pstat. If we really want to be able to export these numbers through a file descriptor to userspace, we can export struct xtty, which should provide a better abstraction. The ttystat option was only used as a debugging aid. This makes sicontrol compile in the mpsafetty branch. Reviewed by: peter Approved by: philip (mentor) Revision Changes Path 1.141 +0 -5 src/sys/dev/si/si.c 1.22 +0 -1 src/sys/dev/si/si.h 1.21 +0 -3 src/usr.sbin/sicontrol/sicontrol.8 1.18 +1 -64 src/usr.sbin/sicontrol/sicontrol.c