From owner-cvs-all Sun Jan 19 2:23:48 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04D0337B401; Sun, 19 Jan 2003 02:23:48 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D19743EB2; Sun, 19 Jan 2003 02:23:47 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0JANlfh085127; Sun, 19 Jan 2003 02:23:47 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0JANlF2085126; Sun, 19 Jan 2003 02:23:47 -0800 (PST) Message-Id: <200301191023.h0JANlF2085126@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 19 Jan 2003 02:23:47 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty_tty.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2003/01/19 02:23:47 PST Modified files: sys/kern tty_tty.c Log: When we use DEVFS, we don't need the /dev/tty pseudo-driver to do more than return ENXIO from its open routine, so most of this file is unneeded. A straight #ifdef'ing would look quite messy, and make the file quite unreadable, so instead I have simply added the DEVFS version of the file at the top, protected by #ifndef NODEVFS. Once we have removed NODEVFS option, we can retain 86 the 86 lines at the top and drop the other 287 lines. Revision Changes Path 1.45 +89 -0 src/sys/kern/tty_tty.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message