aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2004-08-01 11:40:54 +0000
committerMark Murray <markm@FreeBSD.org>2004-08-01 11:40:54 +0000
commit8ab2f5ecc596131f6ca790d6ae35540c06ed7985 (patch)
tree6d7271eea5bb8ced5f0b1cdd585641f60f5622e5 /sys/conf
parentdcd6f4bd48d807bb13902081e85eb92149c5be73 (diff)
downloadsrc-8ab2f5ecc596131f6ca790d6ae35540c06ed7985.tar.gz
src-8ab2f5ecc596131f6ca790d6ae35540c06ed7985.zip
Break out the MI part of the /dev/[k]mem and /dev/io drivers into
their own directory and module, leaving the MD parts in the MD area (the MD parts _are_ part of the modules). /dev/mem and /dev/io are now loadable modules, thus taking us one step further towards a kernel created entirely out of modules. Of course, there is nothing preventing the kernel from having these statically compiled.
Notes
Notes: svn path=/head/; revision=132956
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES8
-rw-r--r--sys/conf/files3
-rw-r--r--sys/conf/files.alpha2
-rw-r--r--sys/conf/files.amd644
-rw-r--r--sys/conf/files.i3868
-rw-r--r--sys/conf/files.ia642
-rw-r--r--sys/conf/files.pc982
-rw-r--r--sys/conf/files.sparc642
8 files changed, 21 insertions, 10 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 40d23b4047eb..c919e31070a5 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -836,9 +836,15 @@ options EXT2FS
# unsuitable for inclusion on machines with untrusted local users.
options VFS_AIO
-# Cryptographically secure random number generator; /dev/[u]random
+# 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
+
# Optional character code conversion support with LIBICONV.
# Each option requires their base file system and LIBICONV.
options CD9660_ICONV
diff --git a/sys/conf/files b/sys/conf/files
index ab5ff567bf76..b84fdafcc660 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -545,6 +545,7 @@ dev/mca/mca_bus.c optional mca
dev/mcd/mcd.c optional mcd isa nowerror
dev/mcd/mcd_isa.c optional mcd isa nowerror
dev/md/md.c optional md
+dev/mem/memdev.c optional mem
dev/mii/amphy.c optional miibus
dev/mii/bmtphy.c optional miibus
dev/mii/brgphy.c optional miibus
@@ -583,8 +584,8 @@ dev/mpt/mpt_pci.c optional mpt pci
dev/my/if_my.c optional my
dev/musycc/musycc.c optional musycc
dev/nge/if_nge.c optional nge
-dev/null/null.c standard
dev/nmdm/nmdm.c optional nmdm
+dev/null/null.c optional null
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/conf/files.alpha b/sys/conf/files.alpha
index 73f166de3772..6b3553b905c9 100644
--- a/sys/conf/files.alpha
+++ b/sys/conf/files.alpha
@@ -71,7 +71,7 @@ alpha/alpha/in_cksum.c optional inet
alpha/alpha/interrupt.c standard
alpha/alpha/locore.s standard no-obj
alpha/alpha/machdep.c standard
-alpha/alpha/mem.c standard
+alpha/alpha/mem.c optional mem
alpha/alpha/pmap.c standard
alpha/alpha/mp_machdep.c optional smp
alpha/alpha/prom.c standard
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 2147cce7d634..74a254a76223 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -59,12 +59,13 @@ amd64/amd64/identcpu.c standard
amd64/amd64/in_cksum.c optional inet
amd64/amd64/initcpu.c standard
amd64/amd64/intr_machdep.c standard
+amd64/amd64/io.c optional io
amd64/amd64/io_apic.c standard
amd64/amd64/legacy.c standard
amd64/amd64/local_apic.c standard
amd64/amd64/locore.S standard no-obj
amd64/amd64/machdep.c standard
-amd64/amd64/mem.c standard
+amd64/amd64/mem.c optional mem
amd64/amd64/mp_machdep.c optional smp
amd64/amd64/mpboot.S optional smp
amd64/amd64/mptable.c optional mptable
@@ -100,6 +101,7 @@ dev/fb/fb.c optional fb
dev/fb/fb.c optional vga
dev/fb/splash.c optional splash
dev/fb/vga.c optional vga
+dev/io/iodev.c optional io
dev/fdc/fdc.c optional fdc
dev/fdc/fdc_acpi.c optional fdc
dev/fdc/fdc_isa.c optional fdc isa
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index d569b44644a6..b5aa266d9efb 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -152,6 +152,7 @@ dev/kbd/kbd.c optional sc
dev/kbd/kbd.c optional ukbd
dev/kbd/kbd.c optional vt
dev/lnc/if_lnc_isa.c optional lnc isa
+dev/io/iodev.c optional io
dev/ppc/ppc.c optional ppc
dev/ppc/ppc_puc.c optional ppc puc pci
dev/random/nehemiah.c optional random
@@ -216,19 +217,20 @@ i386/i386/elf_machdep.c standard
i386/i386/exception.s standard
i386/i386/gdb_machdep.c optional gdb
i386/i386/geode.c optional cpu_geode
-i386/i386/i686_mem.c standard
+i386/i386/i686_mem.c optional mem
i386/i386/identcpu.c standard
i386/i386/in_cksum.c optional inet
i386/i386/initcpu.c standard
i386/i386/intr_machdep.c standard
i386/i386/io_apic.c optional apic
-i386/i386/k6_mem.c standard
+i386/i386/io.c optional io
+i386/i386/k6_mem.c optional mem
i386/i386/legacy.c standard
i386/i386/local_apic.c optional apic
i386/i386/locore.s standard no-obj
i386/i386/longrun.c optional cpu_enable_longrun
i386/i386/machdep.c standard
-i386/i386/mem.c standard
+i386/i386/mem.c optional mem
i386/i386/mp_clock.c optional smp
i386/i386/mp_machdep.c optional smp
i386/i386/mpboot.s optional smp
diff --git a/sys/conf/files.ia64 b/sys/conf/files.ia64
index b4d2e94665e6..8d1ccabed646 100644
--- a/sys/conf/files.ia64
+++ b/sys/conf/files.ia64
@@ -104,7 +104,7 @@ ia64/ia64/interrupt.c standard
ia64/ia64/locore.S standard no-obj
ia64/ia64/machdep.c standard
ia64/ia64/mca.c standard
-ia64/ia64/mem.c standard
+ia64/ia64/mem.c optional mem
ia64/ia64/mp_machdep.c optional smp
ia64/ia64/nexus.c standard
ia64/ia64/pal.S standard
diff --git a/sys/conf/files.pc98 b/sys/conf/files.pc98
index 3a377b75b1ae..bfb08a792511 100644
--- a/sys/conf/files.pc98
+++ b/sys/conf/files.pc98
@@ -157,7 +157,7 @@ i386/i386/k6_mem.c standard
i386/i386/legacy.c standard
i386/i386/local_apic.c optional apic
i386/i386/locore.s standard no-obj
-i386/i386/mem.c standard
+i386/i386/mem.c optional mem
i386/i386/mp_clock.c optional smp
i386/i386/mp_machdep.c optional smp
i386/i386/mpboot.s optional smp
diff --git a/sys/conf/files.sparc64 b/sys/conf/files.sparc64
index 878930e92855..148483ecd3c0 100644
--- a/sys/conf/files.sparc64
+++ b/sys/conf/files.sparc64
@@ -88,7 +88,7 @@ sparc64/sparc64/intr_machdep.c standard
sparc64/sparc64/iommu.c standard
sparc64/sparc64/locore.S standard no-obj
sparc64/sparc64/machdep.c standard
-sparc64/sparc64/mem.c standard
+sparc64/sparc64/mem.c optional mem
sparc64/sparc64/mp_exception.S optional smp
sparc64/sparc64/mp_locore.S optional smp
sparc64/sparc64/mp_machdep.c optional smp