diff options
author | imp <imp@FreeBSD.org> | 2006-06-12 04:21:50 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-06-12 04:21:50 +0000 |
commit | 038d1db25e8295b3ba31b6a2800fef9fc23e23e7 (patch) | |
tree | 20dcb5fd73a84111be3c953e1d0680bf6cff108d /sys | |
parent | a157e1bbd0c955886069274aa528323af2434ed7 (diff) | |
download | FreeBSD-src-038d1db25e8295b3ba31b6a2800fef9fc23e23e7.zip FreeBSD-src-038d1db25e8295b3ba31b6a2800fef9fc23e23e7.tar.gz |
Add the ability to subset the devices that UART pulls in. This allows
the arm to compile without all the extras that don't appear, at least
not in the flavors of ARM I deal with. This helps us save about 100k.
If I've botched the available devices on a platform, please let me
know and I'll correct ASAP.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/conf/DEFAULTS | 3 | ||||
-rw-r--r-- | sys/conf/files | 6 | ||||
-rw-r--r-- | sys/i386/conf/DEFAULTS | 3 | ||||
-rw-r--r-- | sys/ia64/conf/DEFAULTS | 3 | ||||
-rw-r--r-- | sys/pc98/conf/DEFAULTS | 4 | ||||
-rw-r--r-- | sys/powerpc/conf/DEFAULTS | 3 | ||||
-rw-r--r-- | sys/sparc64/conf/DEFAULTS | 5 |
7 files changed, 24 insertions, 3 deletions
diff --git a/sys/amd64/conf/DEFAULTS b/sys/amd64/conf/DEFAULTS index 2df00a7..b95c711 100644 --- a/sys/amd64/conf/DEFAULTS +++ b/sys/amd64/conf/DEFAULTS @@ -11,3 +11,6 @@ device isa # Pseudo devices. device mem # Memory and kernel memory devices device io # I/O device + +# UART chips on this platform +device uart_ns8250 diff --git a/sys/conf/files b/sys/conf/files index 07ca237..21502b0 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -965,9 +965,9 @@ dev/uart/uart_bus_puc.c optional uart puc dev/uart/uart_bus_scc.c optional uart scc dev/uart/uart_core.c optional uart dev/uart/uart_dbg.c optional uart gdb -dev/uart/uart_dev_ns8250.c optional uart -dev/uart/uart_dev_sab82532.c optional uart -dev/uart/uart_dev_z8530.c optional uart +dev/uart/uart_dev_ns8250.c optional uart uart_ns8250 +dev/uart/uart_dev_sab82532.c optional uart uart_sab82532 +dev/uart/uart_dev_z8530.c optional uart uart_z8530 dev/uart/uart_if.m optional uart dev/uart/uart_subr.c optional uart dev/uart/uart_tty.c optional uart diff --git a/sys/i386/conf/DEFAULTS b/sys/i386/conf/DEFAULTS index ca2497c..a98e370 100644 --- a/sys/i386/conf/DEFAULTS +++ b/sys/i386/conf/DEFAULTS @@ -14,3 +14,6 @@ device npx # Pseudo devices. device mem # Memory and kernel memory devices device io # I/O device + +# UART chips on this platform +device uart_ns8250 diff --git a/sys/ia64/conf/DEFAULTS b/sys/ia64/conf/DEFAULTS index 082989c..49f39c1 100644 --- a/sys/ia64/conf/DEFAULTS +++ b/sys/ia64/conf/DEFAULTS @@ -10,3 +10,6 @@ device acpi # ACPI support # Pseudo devices. device mem # Memory and kernel memory devices + +# UART chips on this platform +device uart_ns8250 diff --git a/sys/pc98/conf/DEFAULTS b/sys/pc98/conf/DEFAULTS index 37af803..bb6a00b 100644 --- a/sys/pc98/conf/DEFAULTS +++ b/sys/pc98/conf/DEFAULTS @@ -15,3 +15,7 @@ device npx # Pseudo devices. device mem # Memory and kernel memory devices device io # I/O device + +# UART chips on this platform +device uart_ns8250 +#device uart_i8251 diff --git a/sys/powerpc/conf/DEFAULTS b/sys/powerpc/conf/DEFAULTS index 4534868..c6c75f2 100644 --- a/sys/powerpc/conf/DEFAULTS +++ b/sys/powerpc/conf/DEFAULTS @@ -7,3 +7,6 @@ machine powerpc # Pseudo devices. device mem # Memory and kernel memory devices + +# UART chips on this platform +device uart_ns8250 diff --git a/sys/sparc64/conf/DEFAULTS b/sys/sparc64/conf/DEFAULTS index b24aca4..d70099e 100644 --- a/sys/sparc64/conf/DEFAULTS +++ b/sys/sparc64/conf/DEFAULTS @@ -7,3 +7,8 @@ machine sparc64 # Pseudo devices. device mem # Memory and kernel memory devices + +# UART chips on this platform +device uart_ns8250 +device uart_sab82352 +device uart_z8350 |