summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2004-08-03 19:24:54 +0000
committermarkm <markm@FreeBSD.org>2004-08-03 19:24:54 +0000
commitf51604514930dea3979a68c0fd163c9e5c13ac75 (patch)
treed71b7068ce7296d1c0e6876f03c6ad151394e3ab /sys
parentc6449c277b457f3776fd0e2ed9c83b8109ba6c55 (diff)
downloadFreeBSD-src-f51604514930dea3979a68c0fd163c9e5c13ac75.zip
FreeBSD-src-f51604514930dea3979a68c0fd163c9e5c13ac75.tar.gz
Making a loadable null.ko for /dev/(null|zero) proved rather
unpopular, so remove this (mis)feature. Encouragement provided by: jhb (and others)
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/conf/GENERIC1
-rw-r--r--sys/amd64/conf/GENERIC1
-rw-r--r--sys/conf/NOTES3
-rw-r--r--sys/conf/files2
-rw-r--r--sys/i386/conf/GENERIC1
-rw-r--r--sys/ia64/conf/GENERIC1
-rw-r--r--sys/ia64/conf/SKI1
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/null/Makefile9
-rw-r--r--sys/pc98/conf/GENERIC1
-rw-r--r--sys/powerpc/conf/GENERIC1
-rw-r--r--sys/sparc64/conf/GENERIC1
12 files changed, 1 insertions, 22 deletions
diff --git a/sys/alpha/conf/GENERIC b/sys/alpha/conf/GENERIC
index 08edc0f..1a649e9 100644
--- a/sys/alpha/conf/GENERIC
+++ b/sys/alpha/conf/GENERIC
@@ -173,7 +173,6 @@ device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Pseudo devices.
device loop # Network loopback
device mem # Memory and kernel memory devices
-device null # Null and zero devices
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC
index 8c239c4..aea50d5 100644
--- a/sys/amd64/conf/GENERIC
+++ b/sys/amd64/conf/GENERIC
@@ -220,7 +220,6 @@ device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
device loop # Network loopback
device mem # Memory and kernel memory devices
device io # I/O device
-device null # Null and zero devices
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index c919e31..42e141b 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -839,9 +839,6 @@ options VFS_AIO
# Cryptographically secure random number generator; /dev/random
device random
-# The bit-bucket; /dev/null
-device null
-
# The system memory devices; /dev/mem, /dev/kmem
device mem
diff --git a/sys/conf/files b/sys/conf/files
index b84fdaf..559d081 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -585,7 +585,7 @@ dev/my/if_my.c optional my
dev/musycc/musycc.c optional musycc
dev/nge/if_nge.c optional nge
dev/nmdm/nmdm.c optional nmdm
-dev/null/null.c optional null
+dev/null/null.c standard
dev/patm/if_patm.c optional patm pci
dev/patm/if_patm_intr.c optional patm pci
dev/patm/if_patm_ioctl.c optional patm pci
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC
index 2c86355..34c0193 100644
--- a/sys/i386/conf/GENERIC
+++ b/sys/i386/conf/GENERIC
@@ -242,7 +242,6 @@ device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
device loop # Network loopback
device mem # Memory and kernel memory devices
device io # I/O device
-device null # Null and zero devices
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
diff --git a/sys/ia64/conf/GENERIC b/sys/ia64/conf/GENERIC
index 0e20823..2c6d6c0 100644
--- a/sys/ia64/conf/GENERIC
+++ b/sys/ia64/conf/GENERIC
@@ -139,7 +139,6 @@ device gif # IPv6 and IPv4 tunneling
device loop # Network loopback
device md # Memory "disks"
device mem # Memory and kernel memory devices
-device null # Null and zero devices
device pty # Pseudo-ttys (telnet etc)
device puc # Multi I/O cards and multi-channel UARTs
device random # Entropy device
diff --git a/sys/ia64/conf/SKI b/sys/ia64/conf/SKI
index f1b3b37..ce805e9 100644
--- a/sys/ia64/conf/SKI
+++ b/sys/ia64/conf/SKI
@@ -57,7 +57,6 @@ device ether # Ethernet support
device loop # Network loopback
device md # Memory "disks"
device mem # Memory and kernel memory devices
-device null # Null and zero devices
device pty # Pseudo-ttys (telnet etc)
device random # Entropy device
device tun # Packet tunnel.
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 938c4c8..818f0a3 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -151,7 +151,6 @@ SUBDIR= ${_3dfx} \
${_nsp} \
ntfs \
ntfs_iconv \
- null \
nullfs \
${_nwfs} \
${_oltr} \
diff --git a/sys/modules/null/Makefile b/sys/modules/null/Makefile
deleted file mode 100644
index 5c80fa6..0000000
--- a/sys/modules/null/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-# $FreeBSD$
-
-.PATH: ${.CURDIR}/../../dev/null
-
-KMOD= null
-SRCS= null.c
-SRCS+= bus_if.h device_if.h vnode_if.h
-
-.include <bsd.kmod.mk>
diff --git a/sys/pc98/conf/GENERIC b/sys/pc98/conf/GENERIC
index 23db02c..c6d10d0 100644
--- a/sys/pc98/conf/GENERIC
+++ b/sys/pc98/conf/GENERIC
@@ -218,7 +218,6 @@ device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
# Pseudo devices.
device loop # Network loopback
device mem # Memory and kernel memory devices
-device null # Null and zero devices
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
diff --git a/sys/powerpc/conf/GENERIC b/sys/powerpc/conf/GENERIC
index 4a177e6..e89b1db 100644
--- a/sys/powerpc/conf/GENERIC
+++ b/sys/powerpc/conf/GENERIC
@@ -103,7 +103,6 @@ device fxp # Intel EtherExpress PRO/100B (82557, 82558)
# Pseudo devices.
device loop # Network loopback
-device null # Null and zero devices
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
diff --git a/sys/sparc64/conf/GENERIC b/sys/sparc64/conf/GENERIC
index dab8d2e..92159ba 100644
--- a/sys/sparc64/conf/GENERIC
+++ b/sys/sparc64/conf/GENERIC
@@ -167,7 +167,6 @@ device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Pseudo devices.
device loop # Network loopback
device mem # Memory and kernel memory devices
-device null # Null and zero devices
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
OpenPOWER on IntegriCloud