Author: ed
Date: Wed Mar 21 08:38:42 2012
New Revision: 233271
URL: http://svn.freebsd.org/changeset/base/233271

Log:
  Remove pty(4) from our kernel configurations.
  
  As of FreeBSD 8, this driver should not be used. Applications that use
  posix_openpt(2) and openpty(3) use the pts(4) that is built into the
  kernel unconditionally. If it turns out high profile depend on the
  pty(4) module anyway, I'd rather get those fixed. So please report any
  issues to me.
  
  The pty(4) module is still available as a kernel module of course, so a
  simple `kldload pty' can be used to run old-style pseudo-terminals.

Modified:
  head/sys/amd64/conf/GENERIC
  head/sys/arm/conf/AVILA
  head/sys/arm/conf/BWCT
  head/sys/arm/conf/CAMBRIA
  head/sys/arm/conf/CNS11XXNAS
  head/sys/arm/conf/CRB
  head/sys/arm/conf/DB-78XXX
  head/sys/arm/conf/DB-88F5XXX
  head/sys/arm/conf/DB-88F6XXX
  head/sys/arm/conf/DOCKSTAR
  head/sys/arm/conf/EP80219
  head/sys/arm/conf/GUMSTIX
  head/sys/arm/conf/HL200
  head/sys/arm/conf/HL201
  head/sys/arm/conf/IQ31244
  head/sys/arm/conf/KB920X
  head/sys/arm/conf/LN2410SBC
  head/sys/arm/conf/NSLU
  head/sys/arm/conf/QILA9G20
  head/sys/arm/conf/SAM9G20EK
  head/sys/arm/conf/SHEEVAPLUG
  head/sys/arm/conf/TS7800
  head/sys/i386/conf/GENERIC
  head/sys/i386/conf/XBOX
  head/sys/i386/conf/XEN
  head/sys/ia64/conf/GENERIC
  head/sys/ia64/conf/SKI
  head/sys/mips/conf/OCTEON1
  head/sys/mips/conf/RT305X
  head/sys/mips/conf/XLR
  head/sys/mips/conf/XLR64
  head/sys/mips/conf/XLRN32
  head/sys/mips/conf/std.XLP
  head/sys/pc98/conf/GENERIC
  head/sys/powerpc/conf/GENERIC
  head/sys/powerpc/conf/GENERIC64
  head/sys/powerpc/conf/MPC85XX
  head/sys/sparc64/conf/GENERIC

Modified: head/sys/amd64/conf/GENERIC
==============================================================================
--- head/sys/amd64/conf/GENERIC Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/amd64/conf/GENERIC Wed Mar 21 08:38:42 2012        (r233271)
@@ -285,7 +285,6 @@ device              random          # Entropy device
 device         ether           # Ethernet support
 device         vlan            # 802.1Q VLAN support
 device         tun             # Packet tunnel.
-device         pty             # BSD-style compatibility pseudo ttys
 device         md              # Memory "disks"
 device         gif             # IPv6 and IPv4 tunneling
 device         faith           # IPv6-to-IPv4 relaying (translation)

Modified: head/sys/arm/conf/AVILA
==============================================================================
--- head/sys/arm/conf/AVILA     Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/AVILA     Wed Mar 21 08:38:42 2012        (r233271)
@@ -103,7 +103,6 @@ device              mii             # NB: required by npe
 device         ether
 device         bpf
 
-device         pty
 device         loop
 device         if_bridge
 

Modified: head/sys/arm/conf/BWCT
==============================================================================
--- head/sys/arm/conf/BWCT      Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/BWCT      Wed Mar 21 08:38:42 2012        (r233271)
@@ -72,7 +72,6 @@ device                loop
 device         random
 device         ether
 device         vlan
-device         pty
 device         uart
 device         ate
 device         mii

Modified: head/sys/arm/conf/CAMBRIA
==============================================================================
--- head/sys/arm/conf/CAMBRIA   Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/CAMBRIA   Wed Mar 21 08:38:42 2012        (r233271)
@@ -106,7 +106,6 @@ device              mii             # NB: required by npe
 device         ether
 device         bpf
 
-device         pty
 device         loop
 device         if_bridge
 

Modified: head/sys/arm/conf/CNS11XXNAS
==============================================================================
--- head/sys/arm/conf/CNS11XXNAS        Wed Mar 21 08:08:23 2012        
(r233270)
+++ head/sys/arm/conf/CNS11XXNAS        Wed Mar 21 08:38:42 2012        
(r233271)
@@ -98,7 +98,6 @@ device                mii             # Minimal mii routines
 device         ether
 device         bpf
 
-device         pty
 device         loop
 
 device         md

Modified: head/sys/arm/conf/CRB
==============================================================================
--- head/sys/arm/conf/CRB       Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/CRB       Wed Mar 21 08:38:42 2012        (r233271)
@@ -85,7 +85,6 @@ device                "7seg"
 
 # SCSI Controllers
 
-device         pty
 #options       AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~128k to driver.
 #options       AHD_REG_PRETTY_PRINT    # Print register bitfields in debug

Modified: head/sys/arm/conf/DB-78XXX
==============================================================================
--- head/sys/arm/conf/DB-78XXX  Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/DB-78XXX  Wed Mar 21 08:38:42 2012        (r233271)
@@ -53,7 +53,6 @@ device                pci
 # Pseudo devices
 device         loop
 device         md
-device         pty
 device         random
 
 # Serial ports

Modified: head/sys/arm/conf/DB-88F5XXX
==============================================================================
--- head/sys/arm/conf/DB-88F5XXX        Wed Mar 21 08:08:23 2012        
(r233270)
+++ head/sys/arm/conf/DB-88F5XXX        Wed Mar 21 08:38:42 2012        
(r233271)
@@ -53,7 +53,6 @@ device                pci
 # Pseudo devices
 device         md
 device         loop
-device         pty
 device         random
 
 # Serial ports

Modified: head/sys/arm/conf/DB-88F6XXX
==============================================================================
--- head/sys/arm/conf/DB-88F6XXX        Wed Mar 21 08:08:23 2012        
(r233270)
+++ head/sys/arm/conf/DB-88F6XXX        Wed Mar 21 08:38:42 2012        
(r233271)
@@ -53,7 +53,6 @@ device                pci
 # Pseudo devices
 device         loop
 device         md
-device         pty
 device         random
 
 # Serial ports

Modified: head/sys/arm/conf/DOCKSTAR
==============================================================================
--- head/sys/arm/conf/DOCKSTAR  Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/DOCKSTAR  Wed Mar 21 08:38:42 2012        (r233271)
@@ -46,7 +46,6 @@ options       KDB
 # Pseudo devices
 device         md
 device         random
-device         pty
 device         loop
 
 # Serial ports

Modified: head/sys/arm/conf/EP80219
==============================================================================
--- head/sys/arm/conf/EP80219   Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/EP80219   Wed Mar 21 08:38:42 2012        (r233271)
@@ -83,7 +83,6 @@ device                pass            # Passthrough device 
(dire
 
 # SCSI Controllers
 
-device         pty
 device         iopwdog                 # I80321 Watchdog
 device         dma                     # I80321 DMA Controller
 

Modified: head/sys/arm/conf/GUMSTIX
==============================================================================
--- head/sys/arm/conf/GUMSTIX   Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/GUMSTIX   Wed Mar 21 08:38:42 2012        (r233271)
@@ -76,8 +76,6 @@ device                smcphy
 device         uart
 device         uart_ns8250
 
-device         pty
-
 # Debugging for use in -current
 options        KDB
 options        DDB                     #Enable the kernel debugger

Modified: head/sys/arm/conf/HL200
==============================================================================
--- head/sys/arm/conf/HL200     Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/HL200     Wed Mar 21 08:38:42 2012        (r233271)
@@ -65,7 +65,6 @@ options       RWLOCK_NOINLINE
 options        NO_FFS_SNAPSHOT
 options        NO_SWAPPING
 device         random
-device         pty
 device         loop
 device         ether
 device         uart

Modified: head/sys/arm/conf/HL201
==============================================================================
--- head/sys/arm/conf/HL201     Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/HL201     Wed Mar 21 08:38:42 2012        (r233271)
@@ -67,7 +67,6 @@ options       RWLOCK_NOINLINE
 options        NO_FFS_SNAPSHOT
 options        NO_SWAPPING
 device         random
-device         pty
 device         loop
 device         ether
 device         uart

Modified: head/sys/arm/conf/IQ31244
==============================================================================
--- head/sys/arm/conf/IQ31244   Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/IQ31244   Wed Mar 21 08:38:42 2012        (r233271)
@@ -82,7 +82,6 @@ device                pass            # Passthrough device 
(dire
 
 # SCSI Controllers
 
-device         pty
 device         iopwdog                 # I80321 Watchdog
 device         dma                     # I80321 DMA Controller
 device         aau                     # I80321 Application Accelerator Unit

Modified: head/sys/arm/conf/KB920X
==============================================================================
--- head/sys/arm/conf/KB920X    Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/KB920X    Wed Mar 21 08:38:42 2012        (r233271)
@@ -66,7 +66,6 @@ options       SX_NOINLINE
 options        NO_FFS_SNAPSHOT
 options        NO_SWAPPING
 device         random
-device         pty
 device         loop
 device         ether
 device         uart

Modified: head/sys/arm/conf/LN2410SBC
==============================================================================
--- head/sys/arm/conf/LN2410SBC Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/LN2410SBC Wed Mar 21 08:38:42 2012        (r233271)
@@ -63,7 +63,6 @@ options       SX_NOINLINE
 options        NO_FFS_SNAPSHOT
 options        NO_SWAPPING
 device         random
-device         pty
 
 device         loop
 device         ether

Modified: head/sys/arm/conf/NSLU
==============================================================================
--- head/sys/arm/conf/NSLU      Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/NSLU      Wed Mar 21 08:38:42 2012        (r233271)
@@ -101,7 +101,6 @@ device              rlphy           # NSLU2 uses Realtek 
PHY 
 device         ether
 device         bpf
 
-device         pty
 device         loop
 
 device         md

Modified: head/sys/arm/conf/QILA9G20
==============================================================================
--- head/sys/arm/conf/QILA9G20  Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/QILA9G20  Wed Mar 21 08:38:42 2012        (r233271)
@@ -77,7 +77,6 @@ options       NO_SWAPPING
 #options       DIAGNOSTIC
 
 device         random
-device         pty
 device         loop
 device         bpf
 device         ether

Modified: head/sys/arm/conf/SAM9G20EK
==============================================================================
--- head/sys/arm/conf/SAM9G20EK Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/SAM9G20EK Wed Mar 21 08:38:42 2012        (r233271)
@@ -76,7 +76,6 @@ options       NO_SWAPPING
 #options       DIAGNOSTIC
 
 device         random
-device         pty
 device         loop
 device         bpf
 device         ether

Modified: head/sys/arm/conf/SHEEVAPLUG
==============================================================================
--- head/sys/arm/conf/SHEEVAPLUG        Wed Mar 21 08:08:23 2012        
(r233270)
+++ head/sys/arm/conf/SHEEVAPLUG        Wed Mar 21 08:38:42 2012        
(r233271)
@@ -44,7 +44,6 @@ options       KDB
 
 # Pseudo devices
 device         random
-device         pty
 device         loop
 
 # Serial ports

Modified: head/sys/arm/conf/TS7800
==============================================================================
--- head/sys/arm/conf/TS7800    Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/arm/conf/TS7800    Wed Mar 21 08:38:42 2012        (r233271)
@@ -47,7 +47,6 @@ device                pci
 # Pseudo devices
 device         md
 device         loop
-device         pty
 device         random
 
 # Serial ports

Modified: head/sys/i386/conf/GENERIC
==============================================================================
--- head/sys/i386/conf/GENERIC  Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/i386/conf/GENERIC  Wed Mar 21 08:38:42 2012        (r233271)
@@ -298,7 +298,6 @@ device              random          # Entropy device
 device         ether           # Ethernet support
 device         vlan            # 802.1Q VLAN support
 device         tun             # Packet tunnel.
-device         pty             # BSD-style compatibility pseudo ttys
 device         md              # Memory "disks"
 device         gif             # IPv6 and IPv4 tunneling
 device         faith           # IPv6-to-IPv4 relaying (translation)

Modified: head/sys/i386/conf/XBOX
==============================================================================
--- head/sys/i386/conf/XBOX     Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/i386/conf/XBOX     Wed Mar 21 08:38:42 2012        (r233271)
@@ -65,7 +65,6 @@ device                loop            # Network loopback
 device         random          # Entropy device
 device         ether           # Ethernet support
 #device                tun             # Packet tunnel.
-device         pty             # BSD-style compatibility pseudo ttys
 #device                md              # Memory "disks"
 #device                gif             # IPv6 and IPv4 tunneling
 #device                faith           # IPv6-to-IPv4 relaying (translation)

Modified: head/sys/i386/conf/XEN
==============================================================================
--- head/sys/i386/conf/XEN      Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/i386/conf/XEN      Wed Mar 21 08:38:42 2012        (r233271)
@@ -78,7 +78,6 @@ device                loop            # Network loopback
 device         random          # Entropy device
 device         ether           # Ethernet support
 device         tun             # Packet tunnel.
-device         pty             # Pseudo-ttys (telnet etc)
 device         md              # Memory "disks"
 device         gif             # IPv6 and IPv4 tunneling
 device         faith           # IPv6-to-IPv4 relaying (translation)

Modified: head/sys/ia64/conf/GENERIC
==============================================================================
--- head/sys/ia64/conf/GENERIC  Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/ia64/conf/GENERIC  Wed Mar 21 08:38:42 2012        (r233271)
@@ -201,7 +201,6 @@ device              faith           # IPv6-to-IPv4 relaying 
(
 device         gif             # IPv6 and IPv4 tunneling
 device         loop            # Network loopback
 device         md              # Memory "disks"
-device         pty             # BSD-style compatibility pseudo ttys
 device         puc             # Multi I/O cards and multi-channel UARTs
 device         random          # Entropy device
 device         tun             # Packet tunnel.

Modified: head/sys/ia64/conf/SKI
==============================================================================
--- head/sys/ia64/conf/SKI      Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/ia64/conf/SKI      Wed Mar 21 08:38:42 2012        (r233271)
@@ -53,7 +53,6 @@ device                pci             # PCI bus support
 device         ether           # Ethernet support
 device         loop            # Network loopback
 device         md              # Memory "disks"
-device         pty             # BSD-style compatibility pseudo ttys
 device         random          # Entropy device
 device         tun             # Packet tunnel.
 

Modified: head/sys/mips/conf/OCTEON1
==============================================================================
--- head/sys/mips/conf/OCTEON1  Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/mips/conf/OCTEON1  Wed Mar 21 08:38:42 2012        (r233271)
@@ -250,7 +250,6 @@ device              random          # Entropy device
 device         ether           # Ethernet support
 device         vlan            # 802.1Q VLAN support
 device         tun             # Packet tunnel.
-device         pty             # BSD-style compatibility pseudo ttys
 device         md              # Memory "disks"
 device         gif             # IPv6 and IPv4 tunneling
 device         faith           # IPv6-to-IPv4 relaying (translation)

Modified: head/sys/mips/conf/RT305X
==============================================================================
--- head/sys/mips/conf/RT305X   Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/mips/conf/RT305X   Wed Mar 21 08:38:42 2012        (r233271)
@@ -95,7 +95,6 @@ device                loop
 # RT3050F, RT3052F have only pseudo PHYs, so mii not required
 device         rt
 
-device                 pty                     # Pseudo-ttys (telnet etc)
 device         ether
 device                 bpf                     # Berkeley packet filter
 device         vlan

Modified: head/sys/mips/conf/XLR
==============================================================================
--- head/sys/mips/conf/XLR      Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/mips/conf/XLR      Wed Mar 21 08:38:42 2012        (r233271)
@@ -112,7 +112,6 @@ device              uart
 device                 loop
 device                 random
 device                 md
-device                 pty
 device         bpf
 
 # Network

Modified: head/sys/mips/conf/XLR64
==============================================================================
--- head/sys/mips/conf/XLR64    Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/mips/conf/XLR64    Wed Mar 21 08:38:42 2012        (r233271)
@@ -86,7 +86,6 @@ device                uart
 device                 loop
 device                 random
 device                 md
-device                 pty
 device         bpf
 
 # Network

Modified: head/sys/mips/conf/XLRN32
==============================================================================
--- head/sys/mips/conf/XLRN32   Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/mips/conf/XLRN32   Wed Mar 21 08:38:42 2012        (r233271)
@@ -87,7 +87,6 @@ device                uart
 device                 loop
 device                 random
 device                 md
-device                 pty
 device         bpf
 
 # Network

Modified: head/sys/mips/conf/std.XLP
==============================================================================
--- head/sys/mips/conf/std.XLP  Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/mips/conf/std.XLP  Wed Mar 21 08:38:42 2012        (r233271)
@@ -59,7 +59,6 @@ options       GEOM_UZIP
 device         loop
 device         random
 device         md
-device         pty
 device         bpf
 
 # Network

Modified: head/sys/pc98/conf/GENERIC
==============================================================================
--- head/sys/pc98/conf/GENERIC  Wed Mar 21 08:08:23 2012        (r233270)
+++ head/sys/pc98/conf/GENERIC  Wed Mar 21 08:38:42 2012        (r233271)
@@ -222,7 +222,6 @@ device              random          # Entropy device
 device         ether           # Ethernet support
 device         vlan            # 802.1Q VLAN support
 device         tun             # Packet tunnel.
-device         pty             # BSD-style compatibility pseudo ttys
 device         md              # Memory "disks"
 device         gif             # IPv6 and IPv4 tunneling
 device         faith           # IPv6-to-IPv4 relaying (translation)

Modified: head/sys/powerpc/conf/GENERIC
==============================================================================
--- head/sys/powerpc/conf/GENERIC       Wed Mar 21 08:08:23 2012        
(r233270)
+++ head/sys/powerpc/conf/GENERIC       Wed Mar 21 08:38:42 2012        
(r233271)
@@ -141,7 +141,6 @@ device              random          # Entropy device
 device         ether           # Ethernet support
 device         vlan            # 802.1Q VLAN support
 device         tun             # Packet tunnel.
-device         pty             # BSD-style compatibility pseudo ttys
 device         md              # Memory "disks"
 device         ofwd            # Open Firmware disks
 device         gif             # IPv6 and IPv4 tunneling

Modified: head/sys/powerpc/conf/GENERIC64
==============================================================================
--- head/sys/powerpc/conf/GENERIC64     Wed Mar 21 08:08:23 2012        
(r233270)
+++ head/sys/powerpc/conf/GENERIC64     Wed Mar 21 08:38:42 2012        
(r233271)
@@ -138,7 +138,6 @@ device              random          # Entropy device
 device         ether           # Ethernet support
 device         vlan            # 802.1Q VLAN support
 device         tun             # Packet tunnel.
-device         pty             # BSD-style compatibility pseudo ttys
 device         md              # Memory "disks"
 device         ofwd            # Open Firmware disks
 device         gif             # IPv6 and IPv4 tunneling

Modified: head/sys/powerpc/conf/MPC85XX
==============================================================================
--- head/sys/powerpc/conf/MPC85XX       Wed Mar 21 08:08:23 2012        
(r233270)
+++ head/sys/powerpc/conf/MPC85XX       Wed Mar 21 08:38:42 2012        
(r233271)
@@ -74,7 +74,6 @@ device                md
 device         miibus
 device         pass
 device         pci
-device         pty
 device         quicc
 device         random
 #device                rl

Modified: head/sys/sparc64/conf/GENERIC
==============================================================================
--- head/sys/sparc64/conf/GENERIC       Wed Mar 21 08:08:23 2012        
(r233270)
+++ head/sys/sparc64/conf/GENERIC       Wed Mar 21 08:38:42 2012        
(r233271)
@@ -218,7 +218,6 @@ device              random          # Entropy device
 device         ether           # Ethernet support
 device         vlan            # 802.1Q VLAN support
 device         tun             # Packet tunnel.
-device         pty             # BSD-style compatibility pseudo ttys
 device         md              # Memory "disks"
 device         gif             # IPv6 and IPv4 tunneling
 device         faith           # IPv6-to-IPv4 relaying (translation)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to