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.
|
|
|
|
#
|
|
|
|
|
2002-03-05 09:19:02 +00:00
|
|
|
crypto/blowfish/bf_enc.c optional ipsec ipsec_esp
|
|
|
|
crypto/des/des_enc.c optional ipsec ipsec_esp
|
2002-10-04 20:42:36 +00:00
|
|
|
crypto/blowfish/bf_enc.c optional crypto
|
|
|
|
crypto/des/des_enc.c optional crypto
|
2004-06-10 05:21:44 +00:00
|
|
|
dev/esp/esp_sbus.c optional esp sbus
|
|
|
|
dev/esp/lsi64854.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
|
|
|
|
dev/fb/splash.c optional splash
|
|
|
|
dev/kbd/kbd.c optional sc
|
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
|
2002-06-18 01:14:54 +00:00
|
|
|
dev/sio/sio.c optional sio
|
2002-07-24 12:35:52 +00:00
|
|
|
dev/sio/sio_isa.c optional sio isa
|
2003-08-24 01:54:06 +00:00
|
|
|
dev/syscons/scgfbrndr.c optional sc
|
|
|
|
dev/syscons/schistory.c optional sc
|
|
|
|
dev/syscons/scmouse.c optional sc
|
|
|
|
dev/syscons/scterm.c optional sc
|
|
|
|
dev/syscons/scterm-dumb.c optional sc
|
|
|
|
dev/syscons/scterm-sc.c optional sc
|
|
|
|
dev/syscons/scvidctl.c optional sc
|
|
|
|
dev/syscons/scvtb.c optional sc
|
|
|
|
dev/syscons/syscons.c optional sc
|
|
|
|
dev/syscons/sysmouse.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-10-05 16:35:33 +00:00
|
|
|
geom/geom_bsd.c standard
|
2003-04-17 07:39:03 +00:00
|
|
|
geom/geom_bsd_enc.c standard
|
2002-10-05 16:35:33 +00:00
|
|
|
geom/geom_sunlabel.c standard
|
2003-04-21 19:54:11 +00:00
|
|
|
geom/geom_sunlabel_enc.c standard
|
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
|
2003-08-24 01:54:06 +00:00
|
|
|
sparc64/creator/creator_upa.c optional creator sc
|
2002-07-20 08:16:51 +00:00
|
|
|
sparc64/ebus/ebus.c optional ebus
|
2003-02-18 09:01:01 +00:00
|
|
|
sparc64/fhc/fhc.c optional fhc
|
|
|
|
sparc64/fhc/fhc_central.c optional fhc central
|
|
|
|
sparc64/fhc/fhc_nexus.c optional fhc
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/isa/isa.c optional isa
|
2002-04-05 02:42:25 +00:00
|
|
|
sparc64/isa/ofw_isa.c optional ebus
|
|
|
|
sparc64/isa/ofw_isa.c optional isa
|
2004-04-30 15:00:41 +00:00
|
|
|
sparc64/pci/apb.c optional pci
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/pci/ofw_pci.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
|
Add the new sparc64 OFW PCI framework, conditional on options OFW_NEWPCI
for now. It introduces a OFW PCI bus driver and a generic OFW PCI-PCI
bridge driver. By utilizing these, the PCI handling is much more elegant
now.
The advantages of the new approach are:
- Device enumeration should hopefully be more like on Solaris now,
so unit numbers should match what's printed on the box more
closely.
- Real interrupt routing is implemented now, so cardbus bridges
etc. have at least a chance to work.
- The quirk tables are gone and have been replaced by (hopefully
sufficient) heuristics.
- Much cleaner code.
There was also a report that previously bogus interrupt assignments
are fixed now, which can be attributed to the new heuristics.
A pitfall, and the reason why this is not the default yet, is that
it changes device enumeration, as mentioned above, which can make
it necessary to change the system configuration if more than one
unit of a device type is present (on a system with two hme cars,
for example, it is possible that hme0 becomes hme1 and vice versa
after enabling the option). Systems with multiple disk controllers
may need to be booted into single user (and require manual specification
of the root file system on boot) to adjust the fstab.
Nevertheless, I would like to encourage users to use this option,
so that it can be made the default soon.
In detail, the changes are:
- Introduce an OFW PCI bus driver; it inherits most methods from the
generic PCI bus driver, but uses the firmware for enumeration,
performs additional initialization for devices and firmware-specific
interrupt routing. It also implements an OFW-specific method to allow
child devices to get their firmware nodes.
- Introduce an OFW PCI-PCI bridge driver; again, it inherits most
of the generic PCI-PCI bridge driver; it has it's own method for
interrupt routing, as well as some sparc64-specific methods (one to
get the node again, and one to adjust the bridge bus range, since
we need to reenumerate all PCI buses).
- Convert the apb driver to the new way of handling things.
- Provide a common framework for OFW bridge drivers, used be the two
drivers above.
- Provide a small common framework for interrupt routing (for all
bridge types).
- Convert the psycho driver to the new framework; this gets rid of a
bunch of old kludges in pci_read_config(), and the whole
preinitialization (ofw_pci_init()).
- Convert the ISA MD part and the EBus driver to the new way
interrupts and nodes are handled.
- Introduce types for firmware interrupt properties.
- Rename the old sparcbus_if to ofw_pci_if by repo copy (it is only
required for PCI), and move it to a more correct location (new
support methodsx were also added, and an old one was deprecated).
- Fix a bunch of minor bugs, perform some cleanups.
In some cases, I introduced some minor code duplication to keep the
new code clean, in hopes that the old code will be unifdef'ed soon.
Reviewed in part by: imp
Tested by: jake, Marius Strobl <marius@alchemy.franken.de>,
Sergey Mokryshev <mokr@mokr.net>,
Chris Jackman <cjackNOSPAM@klatsch.org>
Info on u30 firmware provided by: kris
2003-07-01 14:52:47 +00:00
|
|
|
sparc64/pci/ofw_pci_if.m optional pci
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/pci/psycho.c optional pci
|
2002-02-13 16:29:51 +00:00
|
|
|
sparc64/sbus/sbus.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
|
2002-03-27 05:39:23 +00:00
|
|
|
sparc64/sparc64/critical.c standard
|
2002-02-13 16:29:51 +00:00
|
|
|
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
|
2002-04-04 23:59:30 +00:00
|
|
|
sparc64/sparc64/eeprom.c optional eeprom
|
|
|
|
sparc64/sparc64/eeprom_ebus.c optional eeprom ebus
|
2003-02-18 09:01:01 +00:00
|
|
|
sparc64/sparc64/eeprom_fhc.c optional eeprom fhc
|
2002-04-04 23:59:30 +00:00
|
|
|
sparc64/sparc64/eeprom_sbus.c optional 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
|
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
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/vm_machdep.c standard
|
2003-11-17 04:38:14 +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"
|
|
|
|
#
|