2001-08-03 01:09:10 +00:00
|
|
|
# This file tells config what files go into building a kernel,
|
|
|
|
# files marked standard are always included.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2005-06-10 20:58:59 +00:00
|
|
|
atkbdmap.h optional atkbd_dflt_keymap \
|
|
|
|
compile-with "/usr/sbin/kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h" \
|
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "atkbdmap.h"
|
|
|
|
#
|
2006-11-02 00:01:15 +00:00
|
|
|
sunkbdmap.h optional sunkbd_dflt_keymap \
|
|
|
|
compile-with "/usr/sbin/kbdcontrol -L ${SUNKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > sunkbdmap.h" \
|
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "sunkbdmap.h"
|
|
|
|
#
|
2005-05-19 22:56:00 +00:00
|
|
|
ukbdmap.h optional ukbd_dflt_keymap \
|
|
|
|
compile-with "/usr/sbin/kbdcontrol -L ${UKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > ukbdmap.h" \
|
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "ukbdmap.h"
|
|
|
|
#
|
2006-03-14 22:40:44 +00:00
|
|
|
hal.o optional ath_hal \
|
|
|
|
dependency "$S/contrib/dev/ath/public/sparc64-be-elf.hal.o.uu" \
|
|
|
|
compile-with "uudecode < $S/contrib/dev/ath/public/sparc64-be-elf.hal.o.uu" \
|
|
|
|
no-implicit-rule
|
|
|
|
opt_ah.h optional ath_hal \
|
|
|
|
dependency "$S/contrib/dev/ath/public/sparc64-be-elf.opt_ah.h" \
|
2006-12-18 05:45:23 +00:00
|
|
|
compile-with "rm -f opt_ah.h; cp $S/contrib/dev/ath/public/sparc64-be-elf.opt_ah.h opt_ah.h" \
|
2006-03-14 22:40:44 +00:00
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "opt_ah.h"
|
2005-05-19 22:56:00 +00:00
|
|
|
#
|
2007-07-03 12:13:45 +00:00
|
|
|
crypto/blowfish/bf_enc.c optional crypto | ipsec
|
|
|
|
crypto/des/des_enc.c optional crypto | ipsec | netsmb
|
2005-06-10 20:58:59 +00:00
|
|
|
dev/atkbdc/atkbd.c optional atkbd atkbdc
|
|
|
|
dev/atkbdc/atkbd_atkbdc.c optional atkbd atkbdc
|
|
|
|
dev/atkbdc/atkbdc.c optional atkbdc
|
|
|
|
dev/atkbdc/atkbdc_ebus.c optional atkbdc ebus
|
|
|
|
dev/atkbdc/atkbdc_isa.c optional atkbdc isa
|
|
|
|
dev/atkbdc/atkbdc_subr.c optional atkbdc
|
|
|
|
dev/atkbdc/psm.c optional psm atkbdc
|
2005-11-27 21:41:58 +00:00
|
|
|
dev/auxio/auxio.c optional auxio sbus | auxio ebus
|
2004-06-10 05:21:44 +00:00
|
|
|
dev/esp/esp_sbus.c optional esp sbus
|
2003-08-24 01:54:06 +00:00
|
|
|
dev/fb/creator.c optional creator sc
|
|
|
|
dev/fb/fb.c optional sc
|
2007-06-16 21:48:50 +00:00
|
|
|
dev/fb/gallant12x22.c optional sc
|
2005-05-21 20:50:45 +00:00
|
|
|
dev/fb/machfb.c optional machfb sc
|
2005-06-09 19:45:09 +00:00
|
|
|
dev/hwpmc/hwpmc_sparc64.c optional hwpmc
|
2005-11-27 21:41:58 +00:00
|
|
|
dev/kbd/kbd.c optional atkbd | sc | ukbd
|
2007-01-20 12:53:30 +00:00
|
|
|
dev/le/if_le_lebuffer.c optional le sbus
|
2006-01-31 22:34:13 +00:00
|
|
|
dev/le/if_le_ledma.c optional le sbus
|
2007-01-20 12:53:30 +00:00
|
|
|
dev/le/lebuffer_sbus.c optional le sbus
|
- Introduce an ofw_bus kobj-interface for retrieving the OFW node and a
subset ("compatible", "device_type", "model" and "name") of the standard
properties in drivers for devices on Open Firmware supported busses. The
standard properties "reg", "interrupts" und "address" are not covered by
this interface because they are only of interest in the respective bridge
code. There's a remaining standard property "status" which is unclear how
to support properly but which also isn't used in FreeBSD at present.
This ofw_bus kobj-interface allows to replace the various (ebus_get_node(),
ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type()
vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one.
This in turn allows to simplify and remove code-duplication in drivers for
devices that can hang off of more than one OFW supported bus.
- Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the
drivers for their children to use the ofw_bus kobj-interface. The IVAR-
interfaces of the Central, EBus and FHC are entirely replaced by this. The
PCI bus driver used its own kobj-interface and now also uses the ofw_bus
one. The IVARs special to the SBus, e.g. for retrieving the burst size,
remain.
Beware: this causes an ABI-breakage for modules of drivers which used the
IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be
recompiled.
The style-inconsistencies introduced in some of the bus drivers will be
fixed by tmm@ in a generic clean-up of the respective drivers later (he
requested to add the changes in the "new" style).
- Convert the powerpc MacIO bus driver and the drivers for its children to
use the ofw_bus kobj-interface. This invloves removing the IVARs related
to the "reg" property which were unused and a leftover from the NetBSD
origini of the code. There's no ABI-breakage caused by this because none
of these driver are currently built as modules.
There are other powerpc bus drivers which can be converted to the ofw_bus
kobj-interface, e.g. the PCI bus driver, which should be done together
with converting powerpc to use the OFW PCI code from sparc64.
- Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take
advantage of the ofw_bus kobj-interface and simplify them a bit.
Reviewed by: grehan, tmm
Approved by: re (scottl)
Discussed with: tmm
Tested with: Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386
2004-08-12 17:41:33 +00:00
|
|
|
dev/ofw/ofw_bus_if.m standard
|
2005-11-22 16:37:45 +00:00
|
|
|
dev/ofw/ofw_bus_subr.c standard
|
2002-02-13 16:29:51 +00:00
|
|
|
dev/ofw/ofw_console.c optional ofw_console
|
2001-11-06 20:25:44 +00:00
|
|
|
dev/ofw/openfirm.c standard
|
2002-10-18 15:27:02 +00:00
|
|
|
dev/ofw/openfirmio.c standard
|
2003-06-19 18:06:58 +00:00
|
|
|
dev/ofw/openpromio.c standard
|
2005-11-22 17:25:10 +00:00
|
|
|
dev/pcf/envctrl.c optional pcf ebus
|
2005-10-28 15:58:19 +00:00
|
|
|
dev/pcf/pcf_ebus.c optional pcf ebus
|
2005-11-27 21:41:58 +00:00
|
|
|
dev/sound/sbus/cs4231.c optional snd_audiocs ebus | \
|
|
|
|
snd_audiocs sbus
|
2003-08-24 01:54:06 +00:00
|
|
|
dev/syscons/scgfbrndr.c optional sc
|
|
|
|
dev/syscons/scterm-sc.c optional sc
|
|
|
|
dev/syscons/scvtb.c optional sc
|
2003-09-06 23:23:26 +00:00
|
|
|
dev/uart/uart_cpu_sparc64.c optional uart
|
2003-11-11 07:33:24 +00:00
|
|
|
dev/uart/uart_kbd_sun.c optional uart sc
|
2002-03-25 05:01:05 +00:00
|
|
|
kern/syscalls.c optional ktr
|
2004-01-14 08:38:13 +00:00
|
|
|
libkern/ffs.c standard
|
2004-01-13 15:37:23 +00:00
|
|
|
libkern/ffsl.c standard
|
|
|
|
libkern/fls.c standard
|
|
|
|
libkern/flsl.c standard
|
2003-02-18 09:01:01 +00:00
|
|
|
sparc64/central/central.c optional central
|
2002-07-20 08:16:51 +00:00
|
|
|
sparc64/ebus/ebus.c optional ebus
|
2005-03-19 01:04:48 +00:00
|
|
|
sparc64/fhc/clkbrd.c optional clkbrd fhc
|
2003-02-18 09:01:01 +00:00
|
|
|
sparc64/fhc/fhc.c optional fhc
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/isa/isa.c optional isa
|
2004-10-25 10:29:57 +00:00
|
|
|
sparc64/isa/isa_dma.c optional isa
|
2005-11-27 21:41:58 +00:00
|
|
|
sparc64/isa/ofw_isa.c optional ebus | isa
|
2004-04-30 15:00:41 +00:00
|
|
|
sparc64/pci/apb.c optional pci
|
2004-05-08 13:53:47 +00:00
|
|
|
sparc64/pci/ofw_pcib.c optional pci
|
|
|
|
sparc64/pci/ofw_pcib_subr.c optional pci
|
|
|
|
sparc64/pci/ofw_pcibus.c optional pci
|
2005-02-12 19:19:20 +00:00
|
|
|
sparc64/pci/ofw_pci_if.m optional pci
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/pci/psycho.c optional pci
|
2005-05-19 14:51:10 +00:00
|
|
|
sparc64/sbus/dma_sbus.c optional sbus
|
2002-02-13 16:29:51 +00:00
|
|
|
sparc64/sbus/sbus.c optional sbus
|
2005-05-19 14:51:10 +00:00
|
|
|
sparc64/sbus/lsi64854.c optional sbus
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/autoconf.c standard
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/sparc64/bus_machdep.c standard
|
|
|
|
sparc64/sparc64/cache.c standard
|
2003-03-19 06:55:37 +00:00
|
|
|
sparc64/sparc64/cheetah.c standard
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/clock.c standard
|
2002-02-13 16:29:51 +00:00
|
|
|
sparc64/sparc64/counter.c standard
|
|
|
|
sparc64/sparc64/db_disasm.c optional ddb
|
|
|
|
sparc64/sparc64/db_interface.c optional ddb
|
|
|
|
sparc64/sparc64/db_trace.c optional ddb
|
|
|
|
sparc64/sparc64/db_hwwatch.c optional ddb
|
2002-10-20 17:03:15 +00:00
|
|
|
sparc64/sparc64/dump_machdep.c standard
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/elf_machdep.c standard
|
2003-02-28 21:59:14 +00:00
|
|
|
sparc64/sparc64/exception.S standard no-obj
|
2005-11-27 21:41:58 +00:00
|
|
|
sparc64/sparc64/eeprom.c optional eeprom ebus | eeprom fhc | \
|
|
|
|
eeprom sbus
|
2004-07-10 23:31:17 +00:00
|
|
|
sparc64/sparc64/gdb_machdep.c optional gdb
|
2001-09-30 21:35:32 +00:00
|
|
|
sparc64/sparc64/identcpu.c standard
|
2002-02-13 16:29:51 +00:00
|
|
|
sparc64/sparc64/in_cksum.c optional inet
|
2003-02-28 21:59:14 +00:00
|
|
|
sparc64/sparc64/interrupt.S standard no-obj
|
2001-08-10 04:48:48 +00:00
|
|
|
sparc64/sparc64/intr_machdep.c standard
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/sparc64/iommu.c standard
|
2003-02-28 21:59:14 +00:00
|
|
|
sparc64/sparc64/locore.S standard no-obj
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/machdep.c standard
|
2004-08-01 11:40:54 +00:00
|
|
|
sparc64/sparc64/mem.c optional mem
|
2002-07-31 15:52:04 +00:00
|
|
|
sparc64/sparc64/mp_exception.S optional smp
|
|
|
|
sparc64/sparc64/mp_locore.S optional smp
|
2002-01-08 05:55:46 +00:00
|
|
|
sparc64/sparc64/mp_machdep.c optional smp
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/sparc64/nexus.c standard
|
2002-04-05 02:42:25 +00:00
|
|
|
sparc64/sparc64/ofw_bus.c standard
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/sparc64/ofw_machdep.c standard
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/pmap.c standard
|
2002-07-29 00:45:13 +00:00
|
|
|
sparc64/sparc64/prof_machdep.c optional profiling-routine
|
2005-11-27 21:41:58 +00:00
|
|
|
sparc64/sparc64/rtc.c optional rtc ebus | rtc isa
|
2001-09-04 01:18:39 +00:00
|
|
|
sparc64/sparc64/rwindow.c standard
|
2003-08-24 01:54:06 +00:00
|
|
|
sparc64/sparc64/sc_machdep.c optional sc
|
2003-03-19 06:55:37 +00:00
|
|
|
sparc64/sparc64/spitfire.c standard
|
2002-07-31 15:52:04 +00:00
|
|
|
sparc64/sparc64/support.S standard
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/sys_machdep.c standard
|
2002-07-31 15:52:04 +00:00
|
|
|
sparc64/sparc64/swtch.S standard
|
2001-08-10 04:48:48 +00:00
|
|
|
sparc64/sparc64/tick.c standard
|
2002-05-20 16:10:17 +00:00
|
|
|
sparc64/sparc64/tlb.c standard
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/trap.c standard
|
|
|
|
sparc64/sparc64/tsb.c standard
|
2004-03-22 08:08:25 +00:00
|
|
|
sparc64/sparc64/uio_machdep.c standard
|
2007-01-16 22:08:27 +00:00
|
|
|
sparc64/sparc64/upa.c optional creator
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/vm_machdep.c standard
|