From owner-cvs-src@FreeBSD.ORG Fri May 23 16:06:36 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 0CCF1106567A; Fri, 23 May 2008 16:06:36 +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 E8DD48FC23; Fri, 23 May 2008 16:06:35 +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 m4NG6ZtJ098846; Fri, 23 May 2008 16:06:35 GMT (envelope-from ed@repoman.freebsd.org) Received: (from ed@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4NG6ZPm098845; Fri, 23 May 2008 16:06:35 GMT (envelope-from ed) Message-Id: <200805231606.m4NG6ZPm098845@repoman.freebsd.org> From: Ed Schouten Date: Fri, 23 May 2008 16:06:35 +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/kern tty.c tty_cons.c tty_subr.c src/sys/sys clist.h cons.h tty.h 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: Fri, 23 May 2008 16:06:36 -0000 ed 2008-05-23 16:06:35 UTC FreeBSD src repository Modified files: sys/kern tty.c tty_cons.c tty_subr.c sys/sys clist.h cons.h tty.h Log: Move TTY unrelated bits out of . For some reason, the header file also contains routines of the clists and console that are used inside the TTY layer. Because the clists are not only used by the TTY layer (example: various input drivers), we'd better move the entire clist programming interface into . Also remove a declaration of nonexistent variable. The header also contains various definitions for the console code (tty_cons.c). Also move these to , because they are not implemented inside the TTY layer. While there, create separate malloc pools for the clist and console code. Approved by: philip (mentor) Revision Changes Path 1.277 +1 -0 src/sys/kern/tty.c 1.144 +4 -2 src/sys/kern/tty_cons.c 1.45 +5 -3 src/sys/kern/tty_subr.c 1.12 +24 -1 src/sys/sys/clist.h 1.41 +7 -0 src/sys/sys/cons.h 1.103 +1 -27 src/sys/sys/tty.h