Index: head/sys/conf/files.amd64 =================================================================== --- head/sys/conf/files.amd64 +++ head/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 @@ 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 Index: head/sys/conf/files.i386 =================================================================== --- head/sys/conf/files.i386 +++ head/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/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 Index: head/sys/conf/files.x86 =================================================================== --- head/sys/conf/files.x86 +++ head/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