diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-07-01 17:22:38 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-07-01 17:24:51 +0000 |
commit | ea5b2d62426ff4387ab4293b977bb9f6e7212700 (patch) | |
tree | 07267cf9426d5977465952fb085a869c76d931f4 /sys | |
parent | 99df914899f56efe63afd9e0fef79148fa6ca162 (diff) | |
download | src-ea5b2d62426ff4387ab4293b977bb9f6e7212700.tar.gz src-ea5b2d62426ff4387ab4293b977bb9f6e7212700.zip |
MIMIMAL: add uart
While uart could be detected completely through plug and play means, add
it here for two reasons. First, we don't do that from the loader, so
it's not available as a console. Second, even if we did do it from the
loader, there's a limitation in the system today that console drivers
must be compiled into the kernel because the console is selected before
external modules are linked into the kernel. Adding it only increases
the kernel size by ~14k as well.
Sponsored by: Netflix
Idea liked by: des, rpokala, brooks, jhb
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/conf/MINIMAL | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/conf/MINIMAL b/sys/amd64/conf/MINIMAL index 3c9dc8f4df5b..62f942eef677 100644 --- a/sys/amd64/conf/MINIMAL +++ b/sys/amd64/conf/MINIMAL @@ -118,6 +118,10 @@ device vt_vbefb device agp # support several AGP chipsets +# Bring in 'uart' as well, since it can be a console driver and all console +# drivers must be compiled into the kernel. +device uart + # Pseudo devices. device loop # Network loopback device padlock_rng # VIA Padlock RNG |