From owner-p4-projects@FreeBSD.ORG Sun Aug 10 00:24:31 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 599E1106567A; Sun, 10 Aug 2008 00:24:31 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E00A106566C for ; Sun, 10 Aug 2008 00:24:31 +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 0779C8FC18 for ; Sun, 10 Aug 2008 00:24:31 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7A0OUh3081401 for ; Sun, 10 Aug 2008 00:24:30 GMT (envelope-from ed@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7A0OUZj081399 for perforce@freebsd.org; Sun, 10 Aug 2008 00:24:30 GMT (envelope-from ed@FreeBSD.org) Date: Sun, 10 Aug 2008 00:24:30 GMT Message-Id: <200808100024.m7A0OUZj081399@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to ed@FreeBSD.org using -f From: Ed Schouten To: Perforce Change Reviews Cc: Subject: PERFORCE change 147031 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 00:24:31 -0000 http://perforce.freebsd.org/chv.cgi?CH=147031 Change 147031 by ed@ed_dull on 2008/08/10 00:24:26 Force pts(4) to be in the kernel. This has two advantages: - The pts(4) driver is a lot more simple now. There is no need to perform additional bookkeeping to support unloading. - It makes the upgrade path seamless. Existing kernel configurations will just work out of the box with the new TTY layer. Affected files ... .. //depot/projects/mpsafetty/share/man/man4/pts.4#6 edit .. //depot/projects/mpsafetty/sys/amd64/conf/GENERIC#7 edit .. //depot/projects/mpsafetty/sys/arm/conf/AVILA#4 edit .. //depot/projects/mpsafetty/sys/arm/conf/BWCT#3 edit .. //depot/projects/mpsafetty/sys/arm/conf/CRB#3 edit .. //depot/projects/mpsafetty/sys/arm/conf/EP80219#3 edit .. //depot/projects/mpsafetty/sys/arm/conf/GUMSTIX#3 edit .. //depot/projects/mpsafetty/sys/arm/conf/HL200#3 edit .. //depot/projects/mpsafetty/sys/arm/conf/IQ31244#3 edit .. //depot/projects/mpsafetty/sys/arm/conf/KB920X#4 edit .. //depot/projects/mpsafetty/sys/conf/NOTES#7 edit .. //depot/projects/mpsafetty/sys/i386/conf/GENERIC#7 edit .. //depot/projects/mpsafetty/sys/i386/conf/XBOX#3 edit .. //depot/projects/mpsafetty/sys/ia64/conf/GENERIC#4 edit .. //depot/projects/mpsafetty/sys/ia64/conf/SKI#3 edit .. //depot/projects/mpsafetty/sys/pc98/conf/GENERIC#5 edit .. //depot/projects/mpsafetty/sys/powerpc/conf/GENERIC#5 edit .. //depot/projects/mpsafetty/sys/powerpc/conf/MPC85XX#3 edit .. //depot/projects/mpsafetty/sys/sparc64/conf/GENERIC#5 edit .. //depot/projects/mpsafetty/sys/sun4v/conf/GENERIC#5 edit Differences ... ==== //depot/projects/mpsafetty/share/man/man4/pts.4#6 (text+ko) ==== @@ -38,8 +38,6 @@ .Sh NAME .Nm pts .Nd pseudo-terminal driver -.Sh SYNOPSIS -.Cd "device pts" .Sh DESCRIPTION The .Nm ==== //depot/projects/mpsafetty/sys/amd64/conf/GENERIC#7 (text+ko) ==== @@ -257,7 +257,6 @@ device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. -device pts # Pseudo-ttys (telnet etc) device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling ==== //depot/projects/mpsafetty/sys/arm/conf/AVILA#4 (text+ko) ==== @@ -111,7 +111,6 @@ device ether device bpf -device pts device pty device loop device if_bridge ==== //depot/projects/mpsafetty/sys/arm/conf/BWCT#3 (text+ko) ==== @@ -72,7 +72,6 @@ device random device ether device vlan -device pts device pty device uart device ate ==== //depot/projects/mpsafetty/sys/arm/conf/CRB#3 (text+ko) ==== @@ -87,7 +87,6 @@ # SCSI Controllers -device pts device pty #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. ==== //depot/projects/mpsafetty/sys/arm/conf/EP80219#3 (text+ko) ==== @@ -86,7 +86,6 @@ # SCSI Controllers -device pts device pty device iopwdog # I80321 Watchdog device dma # I80321 DMA Controller ==== //depot/projects/mpsafetty/sys/arm/conf/GUMSTIX#3 (text+ko) ==== @@ -78,7 +78,6 @@ device uart device uart_ns8250 -device pts device pty # Debugging for use in -current ==== //depot/projects/mpsafetty/sys/arm/conf/HL200#3 (text+ko) ==== @@ -75,7 +75,6 @@ options NO_FFS_SNAPSHOT options NO_SWAPPING device random -device pts device pty device loop device ether ==== //depot/projects/mpsafetty/sys/arm/conf/IQ31244#3 (text+ko) ==== @@ -84,7 +84,6 @@ # SCSI Controllers -device pts device pty device iopwdog # I80321 Watchdog device dma # I80321 DMA Controller ==== //depot/projects/mpsafetty/sys/arm/conf/KB920X#4 (text) ==== @@ -63,7 +63,6 @@ options NO_FFS_SNAPSHOT options NO_SWAPPING device random -device pts device pty device loop device ether ==== //depot/projects/mpsafetty/sys/conf/NOTES#7 (text+ko) ==== @@ -1275,11 +1275,6 @@ ##################################################################### # MISCELLANEOUS DEVICES AND OPTIONS -# The `pts' device usually turns out to be ``effectively mandatory'', -# as it is required for `telnetd', `rlogind', `screen', `emacs', and -# `xterm', among others. - -device pts #Pseudo ttys device pty #BSD-style compatibility pseudo ttys device nmdm #back-to-back tty devices device md #Memory/malloc disk ==== //depot/projects/mpsafetty/sys/i386/conf/GENERIC#7 (text+ko) ==== @@ -272,7 +272,6 @@ device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. -device pts # Pseudo-ttys (telnet etc) device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling ==== //depot/projects/mpsafetty/sys/i386/conf/XBOX#3 (text+ko) ==== @@ -71,7 +71,6 @@ device random # Entropy device device ether # Ethernet support #device tun # Packet tunnel. -device pts # Pseudo-ttys (telnet etc) device pty # BSD-style compatibility pseudo ttys #device md # Memory "disks" #device gif # IPv6 and IPv4 tunneling ==== //depot/projects/mpsafetty/sys/ia64/conf/GENERIC#4 (text+ko) ==== @@ -151,7 +151,6 @@ device gif # IPv6 and IPv4 tunneling device loop # Network loopback device md # Memory "disks" -device pts # Pseudo-ttys (telnet etc) device pty # BSD-style compatibility pseudo ttys device puc # Multi I/O cards and multi-channel UARTs device random # Entropy device ==== //depot/projects/mpsafetty/sys/ia64/conf/SKI#3 (text+ko) ==== @@ -53,7 +53,6 @@ device ether # Ethernet support device loop # Network loopback device md # Memory "disks" -device pts # Pseudo-ttys (telnet etc) device pty # BSD-style compatibility pseudo ttys device random # Entropy device device tun # Packet tunnel. ==== //depot/projects/mpsafetty/sys/pc98/conf/GENERIC#5 (text+ko) ==== @@ -231,7 +231,6 @@ device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. -device pts # Pseudo-ttys (telnet etc) device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling ==== //depot/projects/mpsafetty/sys/powerpc/conf/GENERIC#5 (text+ko) ==== @@ -117,7 +117,6 @@ device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. -device pts # Pseudo-ttys (telnet etc) device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device ofwd # Open Firmware disks ==== //depot/projects/mpsafetty/sys/powerpc/conf/MPC85XX#3 (text+ko) ==== @@ -58,7 +58,6 @@ device md device miibus device pci -device pts device pty device quicc device random ==== //depot/projects/mpsafetty/sys/sparc64/conf/GENERIC#5 (text+ko) ==== @@ -206,7 +206,6 @@ device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. -device pts # Pseudo-ttys (telnet etc) device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling ==== //depot/projects/mpsafetty/sys/sun4v/conf/GENERIC#5 (text+ko) ==== @@ -170,7 +170,6 @@ device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. -device pts # Pseudo-ttys (telnet etc) device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling