From owner-freebsd-current@FreeBSD.ORG Thu Jul 8 11:40:59 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E9E216A4CE for ; Thu, 8 Jul 2004 11:40:59 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C12043D58 for ; Thu, 8 Jul 2004 11:40:58 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i68BetUX002262 for ; Thu, 8 Jul 2004 13:40:56 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org From: Poul-Henning Kamp Date: Thu, 08 Jul 2004 13:40:55 +0200 Message-ID: <2261.1089286855@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Subject: tty patch: centralization of DTRWAIT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 11:40:59 -0000 http://phk.freebsd.dk/patch/tty.patch This patch centralizes the DTRWAIT functionality and adds a ttygone() function which signals hardware detachment to the central tty code. Please test & review. Affected files: Index: dev/cx/if_cx.c Index: dev/cy/cy.c Index: dev/digi/digi.c Index: dev/digi/digi.h Index: dev/rc/rc.c Index: dev/rp/rp.c Index: dev/rp/rpvar.h Index: dev/si/si.c Index: dev/si/si.h Index: dev/sio/sio.c Index: dev/sx/sx.c Index: dev/sx/sx.h Index: kern/tty.c Index: pc98/pc98/sio.c Index: sys/tty.h -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.