aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-08-12 22:58:56 +0000
committerWarner Losh <imp@FreeBSD.org>2019-08-12 22:58:56 +0000
commit9246a83c8548170a3cb775116220c3cad4304905 (patch)
tree63ff9136595abc011663673fddb8d5d32f6c6f03 /sys/conf
parentc1ab04fce5c060bb994d74e83fdf74c4c768190c (diff)
downloadsrc-9246a83c8548170a3cb775116220c3cad4304905.tar.gz
src-9246a83c8548170a3cb775116220c3cad4304905.zip
Create files.x86
files.x86 is for the parts of the system that are common to both i386 and amd64 due too their nature. First up, to get the ball rolling, is fdc, the floppy disk support. It works only on amd64 and i386 these days, and that's unlikely to change. Reviewed by: jhb, cem (earlier versrions) Differential Revision: https://reviews.freebsd.org/D21210
Notes
Notes: svn path=/head/; revision=350965
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files.amd648
-rw-r--r--sys/conf/files.i3868
-rw-r--r--sys/conf/files.x8614
3 files changed, 22 insertions, 8 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 05329034e3c2..4eba1f33d27f 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -3,6 +3,10 @@
#
# $FreeBSD$
#
+
+# common files stuff between i386 and amd64
+include "conf/files.x86"
+
# The long compile-with and dependency lines are required because of
# limitations in config: backslash-newline doesn't work in strings, and
# dependency lines other than the first are silently ignored.
@@ -298,10 +302,6 @@ dev/ixl/i40e_adminq.c optional ixl pci | iavf pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/i40e_dcb.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
-dev/fdc/fdc.c optional fdc
-dev/fdc/fdc_acpi.c optional fdc
-dev/fdc/fdc_isa.c optional fdc isa
-dev/fdc/fdc_pccard.c optional fdc pccard
dev/gpio/bytgpio.c optional bytgpio
dev/gpio/chvgpio.c optional chvgpio
dev/hpt27xx/hpt27xx_os_bsd.c optional hpt27xx
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index 73c1f88a6918..7f7a7bb4a706 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -3,6 +3,10 @@
#
# $FreeBSD$
#
+
+# common files stuff between i386 and amd64
+include "conf/files.x86"
+
# The long compile-with and dependency lines are required because of
# limitations in config: backslash-newline doesn't work in strings, and
# dependency lines other than the first are silently ignored.
@@ -208,10 +212,6 @@ dev/fb/fb.c optional fb | vga
dev/fb/s3_pci.c optional s3pci
dev/fb/vesa.c optional vga vesa
dev/fb/vga.c optional vga
-dev/fdc/fdc.c optional fdc
-dev/fdc/fdc_acpi.c optional fdc
-dev/fdc/fdc_isa.c optional fdc isa
-dev/fdc/fdc_pccard.c optional fdc pccard
dev/fe/if_fe_isa.c optional fe isa
dev/glxiic/glxiic.c optional glxiic
dev/glxsb/glxsb.c optional glxsb
diff --git a/sys/conf/files.x86 b/sys/conf/files.x86
new file mode 100644
index 000000000000..edd36ad74a5e
--- /dev/null
+++ b/sys/conf/files.x86
@@ -0,0 +1,14 @@
+# This file tells config what files go into building a kernel,
+# files marked standard are always included.
+#
+# $FreeBSD$
+#
+# This file contains all the x86 devices and such that are
+# common between i386 and amd64, but aren't applicable to
+# any other architecture we support.
+#
+
+dev/fdc/fdc.c optional fdc
+dev/fdc/fdc_acpi.c optional fdc
+dev/fdc/fdc_isa.c optional fdc isa
+dev/fdc/fdc_pccard.c optional fdc pccard