Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2008 00:24:30 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 147031 for review
Message-ID:  <200808100024.m7A0OUZj081399@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808100024.m7A0OUZj081399>