The NetBSD Project

CVS log for src/usr.bin/config/defs.h

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / config

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.109 / (download) - annotate - [select for diffs], Fri Apr 5 00:43:42 2024 UTC (5 days, 5 hours ago) by riastradh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.108: +3 -1 lines
Diff to previous 1.108 (colored) to selected 1.44.8.1 (colored)

config(1): Make sort order deterministic.

Ensure we break ties in every case.  This way, even though we use the
unstable qsort(3) library routine, the output is reproducible, no
matter what algorithm is behind qsort(3).

It would be nice if we could just use a stable sort function here,
but mergesort(3) is nonstandard, so we'd have to add it to
tools/compat, which is a big pain.

Instead, put a tie-breaking rule in every comparison function we use
with qsort, and abort() in the event of ties -- that way, we noisily
refuse to rely on unstable sort order.

While here, dispense with any question of integer overflow, and
sprinkle comments.

PR bin/58115

Revision 1.108 / (download) - annotate - [select for diffs], Thu Jan 18 05:41:38 2024 UTC (2 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored) to selected 1.44.8.1 (colored)

Bump version.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Jan 18 04:41:37 2024 UTC (2 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.106: +4 -1 lines
Diff to previous 1.106 (colored) to selected 1.44.8.1 (colored)

With config(1) as it exists today, a kernel Makefile is able to implement
logic on kernel options so long as those options are not defflag'd or
defparam'd.  This works because such options are automatally added to the
IDENT var in the kernel Makefile as a preprocessor define, and the Makefile
can then do an operation like:

.if !empty(IDENT:M-DSOMECOOLCPUOPTION)
CFLAGS+= -mcpu=somecoolcpu
.endif

Unfortunately, this precludes making it possible to generate a compile-time
dependency on SOMECOOLCPUOPTION, or having SOMECOOLCPUOPTION imply another
kernel config option using the normal config(1) option dependency function.

Fix this by introducing a new option description keyword: mkflagvar.  This
keyword marks an already defflag'd option as wanting a kernel Makefile var
defined if that option is selected in the kernel config file.  So:

defflag opt_coolcpu.h SOMECOOLCPUOPTION ANOTHERCOOLCPUOPTION
mkflagvar SOMECOOLCPUOPTION ANOTHERCOOLCPUOPTION

will cause:

KERNEL_OPT_SOMECOOLCPUOPTION="1"
KERNEL_OPT_ANOTHERCOOLCPUOPTION="1"

...to be emitted into the kernel Makefile if those options are, in fact,
selected with "options ..." in the kernel config file, thus allowing for
a compile-time dependency on the option to be generated in addition to
Makefile logic, which now looks like:

.if !empty(KERNEL_OPT_SOMECOOLCPUOPTION)
CFLAGS+= -mcpu=somecoolcpu
.endif

Revision 1.98.6.2 / (download) - annotate - [select for diffs], Fri May 7 17:40:31 2021 UTC (2 years, 11 months ago) by martin
Branch: netbsd-8
Changes since 1.98.6.1: +79 -71 lines
Diff to previous 1.98.6.1 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored) to selected 1.44.8.1 (colored)

Pull up following revision(s) (requested by mrg in ticket #1678):

	bin/pax/options.c: revision 1.119
	usr.bin/config/scan.l: revision 1.32
	usr.bin/make/main.c: revision 1.274
	bin/pax/extern.h: revision 1.60
	usr.bin/config/defs.h: revision 1.106
	usr.bin/make/make.h: revision 1.105
	sbin/newfs_udf/udf_create.c: revision 1.27 (patch)
	sbin/newfs_udf/newfs_udf.h: revision 1.7 (patch)
	usr.bin/config/main.c: revision 1.100
	usr.sbin/installboot/Makefile:	revisions 1.53,1.54 (patch)
	usr.sbin/installboot/installboot.h: revision 1.41 (patch)
	usr.sbin/installboot/machines.c: revisisons 1.41,1.42 (patch)

Avoid depending on common symbols.

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Fri Apr 30 14:07:02 2021 UTC (2 years, 11 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Changes since 1.104.2.1: +79 -71 lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored) to selected 1.44.8.1 (colored)

Pull up following revision(s) (requested by mrg in ticket #1263):

	bin/pax/options.c: revision 1.119
	usr.bin/config/scan.l: revision 1.32
	usr.bin/make/main.c: revision 1.274
	bin/pax/extern.h: revision 1.60
	usr.bin/config/defs.h: revision 1.106
	usr.bin/make/make.h: revision 1.105
	sbin/newfs_udf/udf_create.c: revision 1.27 (patch)
	sbin/newfs_udf/newfs_udf.h: revision 1.7 (patch)
	usr.bin/config/main.c: revision 1.100

Avoid depending on common symbols.

Revision 1.103.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:15 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.103.2.1: +94 -85 lines
Diff to previous 1.103.2.1 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored) to selected 1.44.8.1 (colored)

Merge changes from current as of 20200406

Revision 1.106 / (download) - annotate - [select for diffs], Fri Apr 3 19:53:41 2020 UTC (4 years ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.105: +79 -71 lines
Diff to previous 1.105 (colored) to selected 1.44.8.1 (colored)

Avoid depending on common symbols.

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Mon Mar 9 15:22:21 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-1-RELEASE
Changes since 1.104: +16 -15 lines
Diff to previous 1.104 (colored) to selected 1.44.8.1 (colored)

Pull up the following, requested by christos in ticket #776:

	usr.bin/config/TODO                             up to 1.32
	usr.bin/config/defs.h                           up to 1.105
	usr.bin/config/files.c                          up to 1.37
	usr.bin/config/gram.y                           up to 1.55
	usr.bin/config/main.c                           up to 1.99
	usr.bin/config/scan.l                           up to 1.30
	usr.bin/config/sem.c                            up to 1.84
	usr.bin/config/util.c                           up to 1.21

config(1): fix issue with incorrect handling of elifdef statements.

Revision 1.105 / (download) - annotate - [select for diffs], Sat Mar 7 19:26:13 2020 UTC (4 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.104: +16 -15 lines
Diff to previous 1.104 (colored) to selected 1.44.8.1 (colored)

Keep track where more objects are declared so that we can print where things
have been redefined.

Revision 1.103.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:18 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored) to selected 1.44.8.1 (colored)

Sync with HEAD

Revision 1.102.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:49 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.102.2.1: +2 -2 lines
Diff to previous 1.102.2.1 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored) to selected 1.44.8.1 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.104 / (download) - annotate - [select for diffs], Mon Aug 27 16:04:45 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, is-mlppp-base, is-mlppp
Branch point for: netbsd-9
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored) to selected 1.44.8.1 (colored)

Bump config(5) version for OPT.foo.c variables.

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Mon Apr 16 02:00:10 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.102: +5 -1 lines
Diff to previous 1.102 (colored) to selected 1.44.8.1 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.103 / (download) - annotate - [select for diffs], Mon Apr 9 17:46:56 2018 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Branch point for: phil-wifi
Changes since 1.102: +5 -1 lines
Diff to previous 1.102 (colored) to selected 1.44.8.1 (colored)

Keep previous location of device definitions so we can print them in error
messages.

Revision 1.102 / (download) - annotate - [select for diffs], Mon Nov 27 00:25:46 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) to selected 1.44.8.1 (colored)

use a reference count to avoid deleting psrefs still in use.

Revision 1.101 / (download) - annotate - [select for diffs], Sat Nov 18 18:44:20 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.100: +3 -2 lines
Diff to previous 1.100 (colored) to selected 1.44.8.1 (colored)

Allow multiple attachments methods to the same child+parent combination:

    foo* at bar? with baz
    foo* at bar? with barf

Do this by scanning the list of iba's and allocating a new cfparent for
each. Keep track of the shared parent+child combinations by using the
same id for them.

Revision 1.100 / (download) - annotate - [select for diffs], Thu Nov 16 17:08:07 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.99: +3 -1 lines
Diff to previous 1.99 (colored) to selected 1.44.8.1 (colored)

When deleting orphans detect parent<->child loops and break them.
"active" is not a boolean, use the right comparison.

Revision 1.98.6.1 / (download) - annotate - [select for diffs], Tue Jul 18 19:13:10 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored) to selected 1.44.8.1 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #114):
	sys/arch/arm/samsung/exynos_intr.h: revision 1.3
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.66
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7
	sys/dev/gpio/gpio.c: revision 1.59
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1
	sys/conf/Makefile.kern.inc: revision 1.257
	sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2
	sys/conf/Makefile.kern.inc: revision 1.258
	sys/arch/arm/fdt/psci_fdt.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1
	sys/arch/evbarm/conf/files.sunxi: revision 1.1
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9
	sys/arch/arm/samsung/files.exynos: revision 1.22
	distrib/utils/embedded/conf/armv7.conf: revision 1.13
	sys/arch/arm/samsung/files.exynos: revision 1.23
	sys/arch/evbarm/conf/std.tegra: revision 1.15
	distrib/utils/embedded/conf/armv7.conf: revision 1.14
	sys/arch/arm/samsung/files.exynos: revision 1.24
	distrib/utils/embedded/conf/armv7.conf: revision 1.15
	sys/arch/evbarm/sunxi/genassym.cf: revision 1.1
	sys/arch/arm/samsung/exynos_fdt.c: file removal
	sys/dev/fdt/fdt_pinctrl.c: revision 1.4
	sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1
	sys/dev/usb/ehci.c: revision 1.255
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.11
	sys/arch/arm/cortex/gic.c: revision 1.24
	distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17
	etc/etc.evbarm/Makefile.inc: revision 1.87
	etc/etc.evbarm/Makefile.inc: revision 1.88
	sys/arch/arm/fdt/gic_fdt.c: revision 1.5
	etc/Makefile: revision 1.429
	sys/arch/arm/fdt/gic_fdt.c: revision 1.6
	sys/arch/arm/fdt/gic_fdt.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2
	sys/arch/evbarm/conf/std.sunxi: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3
	sys/arch/evbarm/conf/std.sunxi: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4
	sys/arch/evbarm/conf/std.sunxi: revision 1.3
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1
	sys/dev/gpio/gpiovar.h: revision 1.17
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8
	sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.12
	sys/dev/fdt/fdtvar.h: revision 1.21
	sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.13
	sys/dev/fdt/fdtvar.h: revision 1.22
	sys/arch/evbarm/conf/SUNXI: revision 1.10
	sys/dev/fdt/fdtvar.h: revision 1.23
	sys/arch/evbarm/conf/SUNXI: revision 1.11
	sys/dev/fdt/gpioleds.c: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.24
	sys/arch/evbarm/conf/SUNXI: revision 1.12
	sys/arch/evbarm/conf/SUNXI: revision 1.13
	sys/arch/arm/cortex/gic.c: revision 1.30
	sys/arch/evbarm/conf/SUNXI: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.16
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1
	etc/Makefile: revision 1.430
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2
	etc/Makefile: revision 1.431
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4
	sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6
	sys/arch/arm/samsung/exynos_platform.c: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.29
	sys/arch/arm/samsung/exynos_platform.c: revision 1.2
	sys/arch/evbarm/conf/mk.vexpress: revision 1.3
	sys/arch/arm/samsung/exynos_platform.c: revision 1.3
	sys/arch/evbarm/conf/mk.vexpress: revision 1.4
	sys/arch/arm/samsung/exynos_platform.c: revision 1.4
	sys/arch/arm/arm/psci.h: revision 1.1
	sys/arch/arm/samsung/exynos_platform.c: revision 1.5
	sys/arch/arm/samsung/exynos_platform.c: revision 1.6
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10
	external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12
	sys/dev/fdt/files.fdt: revision 1.17
	sys/dev/fdt/files.fdt: revision 1.18
	sys/dev/fdt/files.fdt: revision 1.19
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.9
	sys/arch/arm/conf/files.arm: revision 1.133
	sys/arch/arm/samsung/mct_var.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2
	sys/arch/evbarm/conf/std.vexpress: revision 1.6
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.30
	sys/arch/arm/sunxi/files.sunxi: revision 1.2
	sys/dev/ofw/openfirm.h: revision 1.35
	sys/arch/arm/sunxi/files.sunxi: revision 1.3
	sys/dev/ofw/openfirm.h: revision 1.36
	sys/arch/arm/sunxi/files.sunxi: revision 1.4
	sys/arch/arm/sunxi/files.sunxi: revision 1.5
	sys/arch/evbarm/exynos/exynos_machdep.c: file removal
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1
	sys/arch/arm/samsung/sscom.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.6
	sys/dev/fdt/ohci_fdt.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.7
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.8
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.9
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.10
	sys/arch/evbarm/conf/mk.tegra: revision 1.5
	sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4
	sys/arch/evbarm/conf/mk.tegra: revision 1.6
	sys/arch/evbarm/conf/EXYNOS: revision 1.15
	sys/arch/evbarm/conf/EXYNOS: revision 1.16
	sys/arch/evbarm/conf/EXYNOS: revision 1.17
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.19
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1
	sys/arch/evbarm/conf/mk.sunxi: revision 1.1
	sys/arch/evbarm/include/bootconfig.h: revision 1.7
	sys/arch/evbarm/conf/TEGRA: revision 1.24
	sys/arch/arm/arm/psci.c: revision 1.1
	sys/dev/led.c: revision 1.1
	sys/dev/led.c: revision 1.2
	sys/arch/arm/arm/psci_arm.S: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2
	sys/dev/fdt/ehci_fdt.c: revision 1.1
	sys/dev/fdt/ehci_fdt.c: revision 1.2
	sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.21
	sys/arch/arm/sunxi/files.sunxi: revision 1.10
	sys/arch/arm/sunxi/files.sunxi: revision 1.11
	sys/dev/fdt/fdtbus.c: revision 1.14
	sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1
	sys/arch/arm/samsung/exynos5422_dma.c: file removal
	usr.bin/config/mkmakefile.c: revision 1.69
	sys/conf/files: revision 1.1178
	sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1
	sys/arch/evbarm/exynos/exynos_start.S: revision 1.4
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2
	sys/arch/evbarm/conf/SUNXI: revision 1.1
	external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.2
	sys/arch/arm/fdt/psci_fdt.c: revision 1.1
	sys/arch/evbarm/conf/SUNXI: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.4
	sys/arch/evbarm/conf/files.exynos: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.6
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1
	sys/dev/fdt/fixedfactorclock.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.7
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.8
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3
	sys/dev/ic/dwc_mmc_reg.h: revision 1.6
	sys/dev/fdt/fdt_subr.c: revision 1.16
	sys/arch/evbarm/conf/SUNXI: revision 1.9
	usr.bin/config/mkmakefile.c: revision 1.70
	sys/dev/fdt/fdt_phy.c: revision 1.1
	sys/arch/evbarm/conf/ODROID-XU: file removal
	sys/arch/arm/fdt/arm_fdt.c: revision 1.4
	sys/arch/arm/samsung/exynos_reg.h: revision 1.14
	sys/conf/files: revision 1.1180
	sys/arch/arm/samsung/exynos_reg.h: revision 1.15
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6
	sys/dev/ic/dwc_mmc_var.h: revision 1.6
	sys/arch/arm/samsung/exynos_combiner.c: revision 1.7
	sys/arch/evbarm/exynos/platform.h: revision 1.2
	sys/arch/arm/fdt/files.fdt: revision 1.12
	sys/arch/evbarm/conf/std.exynos: revision 1.2
	sys/arch/evbarm/conf/std.exynos: revision 1.3
	sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.1
	sys/dev/led.h: revision 1.1
	sys/arch/evbarm/conf/std.exynos: revision 1.5
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.2
	sys/arch/evbarm/conf/files.evbarm: revision 1.26
	usr.bin/config/defs.h: revision 1.99
	sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6
	sys/arch/arm/samsung/exynos_soc.c: revision 1.32
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2
	sys/arch/arm/samsung/mct.c: revision 1.11
	sys/arch/evbarm/conf/ODROID-U: file removal
	sys/arch/arm/samsung/mct.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4
Get the EXYNOS kernel building again with recent FDT changes. Untested.
Use arm_fdt_cpu_hatch and add mmu entry for DTB
Fix exynos5 devmap, bootstrap, and implement early_putchar.
Calculate UART frequency based on bootloader config.
Fix KERNEL_BASE_PHYS (how did this ever work?)
Avoid divide-by-zero for unconfigured PLLs
Correctly initialize i2cbus attach args.
Add delay and enable mct timecounter.
Fix build w/o VERBOSE_INIT_ARM
Remove ODROID-U and ODROID-XU kernel configs as they no longer work.
- Replace CONSADDR with SSCOM2CONSOLE in example
- Remove gtmr (Exynos5422 uses mct)
- cinclude EXYNOS.local instead of TEGRA.local
Use fdtbus_intr_establish to hook in block interrupts instead of
intr_establish.
Simplify MCT; just enable it and then attach an ARMv7 generic timer.
Add support for building DTB files during kernel build, from christos.
build vexpress-v2p-ca15-tc1.dtb with the kernel
build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel
Allow multiline makeoptions to work by quoting the newline..
Bump for quoting makeoptions with multiple lines.
un-c99
bump required config version for multiline makeoptions feature
Set DTS makeoption in kernel config
Assign DTB files to a variable so we can make -V DTB
put the dtb files with their kernels.
no need for debug printing.
Don't assume that CPU index = GIC CPU interface number. We can determine
the current CPU interface number by reading from the read-only
GICD_ITARGETSR0 through GICD_ITARGETSR7 registers.
This gets interrupts working on Exynos 5422, where the boot processor has
GIC CPU interface #4.
use -v to get the expanded variable.
Use -v to get the expanded variables.
Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach.
Fix PLL con0 register locations and add uart clocks
Disable exyortc for now, it doesn't work.
More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support.
Update for new dwc_mmc driver
Fix dmesg
Add Exynos 5410 clock controller driver.
Fix a few typos in clock parent names for mmc clocks.
From jmcneill@
Update for new dwc_mmc driver
Implement platform reset for exynos5
Attach fdtbus to a /clocks node with no compatible string.
Add support for ARM Power State Coordination Interface (PSCI).
Support interrupt sharing.
Add initial support for Allwinner H3 SoC.
ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.
Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.
Add H3 MMC support
SD/MMC clock fixes
Add FDT PHY interface.
Add glue for generic ehci/ohci bindings.
Rename a variable, NFC.
Support parents in different clock domains.
Add USB stuff. Doesn't quite work yet.
Synopsys DesignWare APB UART needs "options COM_AWIN" for now.
Add i2c glue.
Add RTC driver.
PHY registers start at index 1. Now USB works.
Don't allow sharing edge and level triggered interrupts.
Add arm_fdt_memory_dump helper for dumping physical addresses from ddb
Print clocks with aprint_debug
Remove unused defines
Add fdtbus_get_string helper
Add of_search_compatible, which searches an array of compat_data structures
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.
Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.
This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
Fix dmesg
Add basic support for Allwinner A31.
Add basic FDT GPIO support.
Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.
Enable sunxi pinctrl support
Adjust to new pinctrl API
Add P2WI/RSB driver, based on awin_p2wi.c.
Fix typo in a compat string.
Configure pin defaults at attach
No need to explicitly set pinctrl config 0 now
Fix some register definitions.
Disallow sharing between MPSAFE and non-MPSAFE handlers.
Add of_match_compat_data.
This routine searches an array of compat_data structures for a
matching "compatible" entry matching the supplied OFW node.
Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP
Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
the extent code cannot use the full range of u_long,
so ignore the last page before 4GB too.  ok jmcneill@
Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.
Attach gpio(4) to sunxigpio
Test for kernel build directory before reading DTB list
Add support for Allwinner A83T SoC.
Add A83T files
Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints.
Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac
Restore TX_INTERVAL_DEFAULT to 64
Drop the sunxi_emac_rx_batch feature. It was originally designed to
reduce the amount of mutex unlock/lock cycles during the RX path on
FreeBSD and if_input, but it is not required to drop the lock before
calling if_percpuq_enqueue on NetBSD.
Write back the data value instead of mask in sunxi_gpio_write
Add a helper for exposing LED controls via sysctl.
Add GPIO LED driver.
add gpioleds
Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.
Add fdtbus_get_string_index helper.
Add driver for fixed-factor clocks.
Add ffclock
Remove the requirement for ehci to attach after companion devices.
"go for it" - skrll@
Remove the hack to find companion devices and just assume 1 companion if
ETTF flag is not set.
Remove pass numbers for ehci/ohci now that the attach order no longer matters
Use unsigned char for ctype functions, suggested by christos
Add : to body of populate_sunxi to appease bash.
port-evbarm/52388: Fix number of args to a debug printf.

Revision 1.99 / (download) - annotate - [select for diffs], Fri Jun 16 00:10:09 2017 UTC (6 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored) to selected 1.44.8.1 (colored)

Bump for quoting makeoptions with multiple lines.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Sep 9 21:09:11 2016 UTC (7 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, netbsd-8-base, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.97: +3 -2 lines
Diff to previous 1.97 (colored) to selected 1.44.8.1 (colored)

Make attribute deselection work:
- when deselecting attributes, remove files that depend on them
- when deselecting attributes, remove devices that depend on them

Revision 1.97 / (download) - annotate - [select for diffs], Sun Aug 7 21:11:55 2016 UTC (7 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored) to selected 1.44.8.1 (colored)

Bump version for -no

Revision 1.96 / (download) - annotate - [select for diffs], Sun Aug 7 10:37:24 2016 UTC (7 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.95: +4 -4 lines
Diff to previous 1.95 (colored) to selected 1.44.8.1 (colored)

Accept "-no" as a "no" that does not cause errors if the object deleted
does not exist.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Mar 18 15:05:49 2016 UTC (8 years ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount
Changes since 1.94: +4 -4 lines
Diff to previous 1.94 (colored) to selected 1.44.8.1 (colored)

match the updated <sys/types.h> definition

Revision 1.94 / (download) - annotate - [select for diffs], Thu Nov 12 14:38:21 2015 UTC (8 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) to selected 1.44.8.1 (colored)

In ioconfname mode, #define IOCONF as the ioconf token.

Avoids having to retype the name to call config_init/fini_component().

Revision 1.93 / (download) - annotate - [select for diffs], Fri Sep 4 10:16:35 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.92: +5 -0 lines
Diff to previous 1.92 (colored) to selected 1.44.8.1 (colored)

Sort files in ${ALLFILES} in the order of parsing of `files.*'.

config(1) reads the first `files.${MACHINE}' when it encounters `machine'.
Then it includes common `files.${MACHINE_SUBARCH}', `files.${MACHINE_ARCH}',
and MI `sys/conf/files' at last.  This change makes the first "file" in
`files.${MACHINE}' appear first in ${ALLFILES}.

Revision 1.92 / (download) - annotate - [select for diffs], Fri Sep 4 06:10:47 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.91: +1 -1 lines
Diff to previous 1.91 (colored) to selected 1.44.8.1 (colored)

Make config(1) output only ${ALLFILES}, selected input files, and pass it to
Makefile.kern.inc, where files are filtered by suffix.

Revision 1.91 / (download) - annotate - [select for diffs], Fri Sep 4 06:01:40 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.90: +0 -1 lines
Diff to previous 1.90 (colored) to selected 1.44.8.1 (colored)

*.o files don't need special handling at all now.  Makefile.kern.inc knows
*.o input files don't need to get compiled, but need to get linked.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Sep 3 14:23:52 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.89: +1 -1 lines
Diff to previous 1.89 (colored) to selected 1.44.8.1 (colored)

Add generated *.c files (devsw.c and ioconf.c) to ${CFILES} by config(1)
internally.  ${MI_CFILES} in Makefile.kern.inc is no longer needed.

Revision 1.89 / (download) - annotate - [select for diffs], Thu Sep 3 13:53:36 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.88: +0 -2 lines
Diff to previous 1.88 (colored) to selected 1.44.8.1 (colored)

After thought, revert "Generate *.c files under conf/".  Generate *.c files
under top build directory.  *.c files are never placed just under $S/.  Keep
this exclusiveness.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Sep 3 09:28:00 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.87: +1 -1 lines
Diff to previous 1.87 (colored) to selected 1.44.8.1 (colored)

Move `all' target definition to Makefile.kern.inc.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Sep 3 06:09:46 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.86: +1 -1 lines
Diff to previous 1.86 (colored) to selected 1.44.8.1 (colored)

Define kernel dependency in Makefile.kern.inc.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Sep 2 14:17:03 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.85: +1 -1 lines
Diff to previous 1.85 (colored) to selected 1.44.8.1 (colored)

Define ${OBJS} in `Makefile.kern.inc'.  Relative paths are not truncated
(a/b/c/x.c -> x.c) in `-S' mode.  Don't provide some explicit rules for `-S'
mode for safety.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Sep 2 13:42:14 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.84: +1 -1 lines
Diff to previous 1.84 (colored) to selected 1.44.8.1 (colored)

Output relative path for ${CFILES} and ${SFILES} in generated `Makefile'.
`Makefile.kern.inc' knows how to deal with $S prefix, so don't bother it in
config(1).

Revision 1.84 / (download) - annotate - [select for diffs], Wed Sep 2 05:09:25 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.83: +2 -0 lines
Diff to previous 1.83 (colored) to selected 1.44.8.1 (colored)

In `-S' mode, generate *.c files under conf/ subdirectory.  Register generated
.c files to the `files' list internally.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Sep 1 16:01:23 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored) to selected 1.44.8.1 (colored)

Experimental ``suffix rules + subdirectories'' build support (-S).

Revision 1.82 / (download) - annotate - [select for diffs], Tue Sep 1 13:45:52 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.81: +1 -1 lines
Diff to previous 1.81 (colored) to selected 1.44.8.1 (colored)

Bump version for "buildprefix".

Revision 1.81 / (download) - annotate - [select for diffs], Tue Sep 1 13:42:48 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.80: +10 -1 lines
Diff to previous 1.80 (colored) to selected 1.44.8.1 (colored)

Introduce a new syntax, "buildprefix", to specify prefix of files under kernel
build subdirectory.  This is not used now that everything is built at the
top of kernel build directory.  It will become mandatory for source/object
files put out of kernel source tree to specify corresponding build subdirectory.
Only ``no dots''  relative path is accepted as "buildprefix".

Revision 1.80 / (download) - annotate - [select for diffs], Tue Sep 1 12:46:20 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.79: +1 -0 lines
Diff to previous 1.79 (colored) to selected 1.44.8.1 (colored)

Keep track of directory of files internally.

Revision 1.79 / (download) - annotate - [select for diffs], Tue Sep 1 12:32:26 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.78: +3 -4 lines
Diff to previous 1.78 (colored) to selected 1.44.8.1 (colored)

Clean up struct files.

Revision 1.78 / (download) - annotate - [select for diffs], Tue Sep 1 12:10:56 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.77: +0 -2 lines
Diff to previous 1.77 (colored) to selected 1.44.8.1 (colored)

Use per-suffix lists where appropriate.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Sep 1 11:35:46 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.76: +18 -51 lines
Diff to previous 1.76 (colored) to selected 1.44.8.1 (colored)

Abstract struct filetype is no longer needed.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Sep 1 11:22:59 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.75: +11 -33 lines
Diff to previous 1.75 (colored) to selected 1.44.8.1 (colored)

Merge struct objects into struct files.  Keep per-suffix file lists.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Sep 1 10:37:48 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.74: +24 -12 lines
Diff to previous 1.74 (colored) to selected 1.44.8.1 (colored)

Start merging struct files and struct objects.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Aug 31 02:58:25 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.73: +2 -1 lines
Diff to previous 1.73 (colored) to selected 1.44.8.1 (colored)

Restore the old behavior of "maxusers" to allow the value to be overriden.
Problem reported by John D. Baker.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Aug 30 21:58:19 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.72: +1 -1 lines
Diff to previous 1.72 (colored) to selected 1.44.8.1 (colored)

Revert "Accept only relative paths ...".  This will be redone in much better,
stricter way.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Aug 30 05:12:00 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.71: +1 -1 lines
Diff to previous 1.71 (colored) to selected 1.44.8.1 (colored)

Define compile rules in sys/conf/Makefile.kern.inc except those overriden by
"file ... compile-with ...".  As rules are still explicit, be careful to not
override by checking .if !target(xxx.o).

Revision 1.71 / (download) - annotate - [select for diffs], Sun Aug 30 01:33:20 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (colored) to selected 1.44.8.1 (colored)

Define `makeoptions' values as parameters with "makeoptions_" prefix too.
C sources are encouraged to include relevant opt_*.h files rather than relying
on -DXXX passed via makefiles.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Aug 29 14:07:45 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.69: +1 -1 lines
Diff to previous 1.69 (colored) to selected 1.44.8.1 (colored)

Convert MAXUSERS, take 2.

Define MAXUSERS in opt_param.h and include it from sys/param.h, for more
accurate dependency.  Don't define -DMAXUSERS and add it to ${CPPFLAGS}.
config(5)'s "maxusers" syntax doesn't change.

(The version just before revert was OK, but I had something bad in my obj
dirs.)

Revision 1.69 / (download) - annotate - [select for diffs], Sat Aug 29 07:33:18 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68 (colored) to selected 1.44.8.1 (colored)

Revert MAXUSERS changes.  Need fresh air.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Aug 29 07:08:38 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.67: +1 -1 lines
Diff to previous 1.67 (colored) to selected 1.44.8.1 (colored)

Define MAXUXERS in opt_param.h.  Bump config(1) version.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Aug 29 02:54:07 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored) to selected 1.44.8.1 (colored)

Revert "Retire optional `rule' argument of `file' command".  It is still used
in m68k ports.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Aug 28 09:04:02 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 (colored) to selected 1.44.8.1 (colored)

Retire optional `rule' argument of `file' command.

This has existed since Rev. 1.1 of Torek's config(8) [1], but probably has
never been used by anyone.

(I can not imagine how a `file' like look like if `rule' is specified.)

[1] http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/config.new/Attic/files.c?rev=1.1

Revision 1.65 / (download) - annotate - [select for diffs], Thu Aug 20 09:44:24 2015 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored) to selected 1.44.8.1 (colored)

move driver attach declarations to ioconf.h

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Fri Mar 6 21:00:23 2015 UTC (9 years, 1 month ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.45: +54 -13 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.44.8.1 (colored)

Pull up following revision(s) (requested by mrg in ticket #572):
	usr.bin/config/Makefile: up to 1.10
	usr.bin/config/TODO: up to 1.14
	usr.bin/config/config.1: up to 1.17
	usr.bin/config/config.5: up to 1.25
	usr.bin/config/defs.h: up to 1.64
	usr.bin/config/files.c: up to 1.18
	usr.bin/config/gram.y: up to 1.46
	usr.bin/config/hash.c: up to 1.11
	usr.bin/config/lint.c: up to 1.15
	usr.bin/config/main.c: up to 1.74
	usr.bin/config/mkdevsw.c: up to 1.12
	usr.bin/config/mkheaders.c: up to 1.26
	usr.bin/config/mkioconf.c: up to 1.28
	usr.bin/config/mkmakefile.c: up to 1.37
	usr.bin/config/mkswap.c: up to 1.8
	usr.bin/config/pack.c: up to 1.9
	usr.bin/config/scan.l: up to 1.22
	usr.bin/config/sem.c: up to 1.71
	usr.bin/config/sem.h: up to 1.19
	usr.bin/config/util.c: up to 1.19
sync config(1) with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Nov 17 00:53:15 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.63: +4 -0 lines
Diff to previous 1.63 (colored) to selected 1.44.8.1 (colored)

Pre-calc file path len/suffix.  Misc. clean up.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Nov 15 08:21:38 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.62: +2 -0 lines
Diff to previous 1.62 (colored) to selected 1.44.8.1 (colored)

config(1): Sort objects by weight in modular build

Sort per-module kernel objects (*.ko) by dependency weight.  Important modules
are placed in lower addresses.  The ``machdep'' module will be always placed
in the lowest.

(At this moment, the order is not exact because dependency information is
incomplete in config files (files.*).  Thus ``sysmon_power.ko'' comes lower
than ``machdep.ko'' and/or ``uvm.ko''; but still much better than alphabetical
sort.)

Revision 1.62 / (download) - annotate - [select for diffs], Thu Nov 6 11:40:32 2014 UTC (9 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61 (colored) to selected 1.44.8.1 (colored)

config(1): Rename internal flag to enable modular build

Revision 1.61 / (download) - annotate - [select for diffs], Sat Nov 1 14:24:45 2014 UTC (9 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.60: +18 -4 lines
Diff to previous 1.60 (colored) to selected 1.44.8.1 (colored)

config(1): Start calling module as module

Revision 1.60 / (download) - annotate - [select for diffs], Fri Oct 31 07:38:36 2014 UTC (9 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.44.8.1 (colored)

config(1), config(5): Introduce "select"

o Introduce a new selection directive "select" to select an attribute (as a
  module) and its dependencies.
o Support "no select" too.
o Stop abusing "options" to select an attribute.
o Bump config(1) version.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Oct 29 17:14:50 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.58: +6 -6 lines
Diff to previous 1.58 (colored) to selected 1.44.8.1 (colored)

- add RCSID's
- fix -Wconversion (except scanner)

Revision 1.58 / (download) - annotate - [select for diffs], Sat Oct 18 06:36:40 2014 UTC (9 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.57: +1 -0 lines
Diff to previous 1.57 (colored) to selected 1.44.8.1 (colored)

Keep track of attribute (module) dependency using hash2.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Oct 12 05:20:54 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.56: +6 -0 lines
Diff to previous 1.56 (colored) to selected 1.44.8.1 (colored)

Make hash capable of taking two key strings.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Oct 11 03:17:40 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.55: +0 -4 lines
Diff to previous 1.55 (colored) to selected 1.44.8.1 (colored)

Enable debug for tools.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Oct 10 12:10:02 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54 (colored) to selected 1.44.8.1 (colored)

Bump config(1) version.

config(1) still keeps backward-compatibility; it is more permissive than
before.  The tree, however, needs the updated config(1), mainly to strictly
define attribute ("module") ownership and dependencies.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Oct 10 05:27:28 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.53: +8 -4 lines
Diff to previous 1.53 (colored) to selected 1.44.8.1 (colored)

Refactor attr definition and initialization a little.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Oct 9 19:27:04 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.52: +0 -1 lines
Diff to previous 1.52 (colored) to selected 1.44.8.1 (colored)

FIT_FORCESELECT is never set anywhere.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Oct 9 19:24:36 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.51: +0 -1 lines
Diff to previous 1.51 (colored) to selected 1.44.8.1 (colored)

FIT_NOPROLOGUE is never set anywhere.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Oct 9 19:20:56 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.50: +1 -0 lines
Diff to previous 1.50 (colored) to selected 1.44.8.1 (colored)

Steal -M to enable "modular" build.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Oct 9 15:25:26 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.49: +1 -0 lines
Diff to previous 1.49 (colored) to selected 1.44.8.1 (colored)

Define an implicit attribute "netbsd" internally to collect files that don't
belong to any specific attribute.

Eventually, all operations doing "foreach (files)" can be rewritten as "foreach
(attributes) foreach (files)".

Revision 1.49 / (download) - annotate - [select for diffs], Thu Oct 9 10:29:36 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.48: +6 -1 lines
Diff to previous 1.48 (colored) to selected 1.44.8.1 (colored)

If a file is marked by an atom expression, like "file a.c foo", and if the
specified expression is an attribute, mark the file as belonging to the
attribute.

At this moment this information is not used for any purpose, but can be
traced by config -ddd.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Oct 9 07:43:55 2014 UTC (9 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored) to selected 1.44.8.1 (colored)

Provide a CFGDBG version for the tools build.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Oct 9 06:45:31 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.46: +8 -1 lines
Diff to previous 1.46 (colored) to selected 1.44.8.1 (colored)

Add debug print function.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Aug 24 20:22:18 2014 UTC (9 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.44.8.1 (colored)

Bump CONFIG_VERSION.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:57 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.44.8.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.44.8.1 / (download) - annotate - [selected], Sun Aug 10 06:57:59 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Rebase.

Revision 1.35.6.3 / (download) - annotate - [select for diffs], Thu May 22 11:42:43 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35.6.2: +2 -2 lines
Diff to previous 1.35.6.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.44.8.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.45 / (download) - annotate - [select for diffs], Mon May 5 19:08:13 2014 UTC (9 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.44.8.1 (colored)

Add two new options, -U and -D, that can be used to define "makeoptions"
on the config command line. While there, rename the undocumented (internal)
parser debug option from -D to -d.
Discussed on tech-toolchain.

Revision 1.35.6.2 / (download) - annotate - [select for diffs], Tue Oct 30 19:00:14 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.35.6.1: +2 -2 lines
Diff to previous 1.35.6.1 (colored) to branchpoint 1.35 (colored) to selected 1.44.8.1 (colored)

sync with head

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Tue Jun 12 19:23:33 2012 UTC (11 years, 10 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.44.8.1 (colored)

Pull up following revision(s) (requested by martin in ticket #318):
	usr.bin/config/defs.h: revision 1.44
	usr.bin/config/mkmakefile.c: revision 1.15
If we build several kernel (variants) within the same build directory, bad
things may happen in a parallel build - especially with rules like the
automatic size adjustment for SYMTAB_SPACE, see long standing failure of
evbarm on the build cluster.
Easy fix: .WAIT for each config to complete, before going on with the
next. Low impact, only minor loss of paralellism, and only in cases where
needed.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jun 8 08:56:45 2012 UTC (11 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.44.8.1 (colored)

If we build several kernel (variants) within the same build directory, bad
things may happen in a parallel build - especially with rules like the
automatic size adjustment for SYMTAB_SPACE, see long standing failure of
evbarm on the build cluster.
Easy fix: .WAIT for each config to complete, before going on with the
next. Low impact, only minor loss of paralellism, and only in cases where
needed.

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:30 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35: +123 -45 lines
Diff to previous 1.35 (colored) to selected 1.44.8.1 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Mon Mar 12 03:04:56 2012 UTC (12 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.42: +4 -7 lines
Diff to previous 1.42 (colored) to selected 1.44.8.1 (colored)

Remove the NV_OBSOLETE flag, which is no longer needed. While here,
update an outdated comment about condition expressions.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Mar 12 02:58:55 2012 UTC (12 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.41: +31 -15 lines
Diff to previous 1.41 (colored) to selected 1.44.8.1 (colored)

Give option definitions their own data structure instead of using nvlists.
(and using messy hacks to make up for nvlists not holding quite the right
things)

Revision 1.41 / (download) - annotate - [select for diffs], Mon Mar 12 00:20:30 2012 UTC (12 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.40: +25 -12 lines
Diff to previous 1.40 (colored) to selected 1.44.8.1 (colored)

Introduce type-safe wrappers around the hash tables. Use them for a
selected set of tables affected by the next nvlist cleanup in the
works.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Mar 11 21:16:07 2012 UTC (12 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.39: +18 -2 lines
Diff to previous 1.39 (colored) to selected 1.44.8.1 (colored)

Move locator lists to their own data structure. This can use more tidying;
it is not clear to me at the moment what the "string" and "num" values
pushed around in locator lists are supposed to actually mean.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Mar 11 08:21:53 2012 UTC (12 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.38: +35 -13 lines
Diff to previous 1.38 (colored) to selected 1.44.8.1 (colored)

Create a struct condexpr type to hold condition expressions, instead
of abusing struct nvlist to make trees.

(These are the a|b and a&b constructs.)

Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 11 07:32:41 2012 UTC (12 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.37: +16 -4 lines
Diff to previous 1.37 (colored) to selected 1.44.8.1 (colored)

Create a new type struct attrlist to manage lists of attributes,
instead of using struct nvlist.

(struct nvlist holds lists (or trees!) of semi-arbitrary stuff with no
structure and almost no type safety; it should go away.)

Revision 1.37 / (download) - annotate - [select for diffs], Sun Mar 11 05:31:37 2012 UTC (12 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored) to selected 1.44.8.1 (colored)

Remove cf_swap, which hasn't been used in a long time.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Mar 10 21:53:38 2012 UTC (12 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.35: +9 -6 lines
Diff to previous 1.35 (colored) to selected 1.44.8.1 (colored)

Use __printflike. Build products unchanged.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 30 20:47:18 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored) to selected 1.44.8.1 (colored)

For the simple cases, augment device-major with information on how
a driver expects /dev/node -> minor mappings to go and include that
information in devsw_conv.
(no, I didn't plow through all the MD majors files)

Revision 1.34 / (download) - annotate - [select for diffs], Mon Mar 22 14:40:54 2010 UTC (14 years ago) by pooka
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.44.8.1 (colored)

Some drivers want to include ioconf.h, so generate it if doing
"ioconf" config.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Mar 8 10:19:14 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) to selected 1.44.8.1 (colored)

Add a highly experimental pseudo-root feature to be used in conjuction
with the also-experimental ioconf keyword.  pseudo-root allows to
specify a root at any point in the device tree without having
attachments from the actual root.

For example, instead of having a config file like this:
mainbus0 at root
bus_a? at mainbus0
bus_b? at bus_a*
device7 at bus_b?

You can have one like this:
pseudo-root bus_b*
device7 at bus_b?

This will produce the relevant ioconf.c glue for device number 7
only instead of the whole 9 yards from root.  Perhaps needless to
say, this can be used to generate snippets of config glue for
modules and, let's not deny that my main motivation for doing this,
rump components.

This is part 2/3 of my modifications to config (the last part is
autogenerating source file lists and component Makefiles).

No strong objection from cube (after a little pressuring ;), but
like he said, the implementation will most likely need some more
tweaking and may not work correctly under all pseudo-root uses yet.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 3 13:53:22 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.44.8.1 (colored)

Remove fs_foo.h support from deffs now that nothing uses it.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 3 21:00:49 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored) to selected 1.44.8.1 (colored)

Introduce experimental support for ioconf-only configuration files.
This is done by giving the "ioconf" keyword in the config file.
As a result, config produces only ioconf.c and locators.h.  Currently,
only "monolithic" configurations with the device path starting from
root are supported.  Eventually, the goal is to support a local
root in the input file from any point along the device tree using
files.* in our kernel tree.  This will make autogenerating the
config glue for device modules possible instead of having to write
it by hand like is currently required (yes, it sounds simple to
implement, but ...).

reviewed by cube.
(the next part will demand major discussions with you, so prepare ;)

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:47 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.27: +7 -4 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.44.8.1 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.30 / (download) - annotate - [select for diffs], Fri Mar 13 20:44:59 2009 UTC (15 years, 1 month ago) by cube
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.44.8.1 (colored)

Now that condmkopttab isn't a hash table anymore, don't initialise it with
ht_new()...  So actually rename it to condmkoptions to avoid confusion.

Reported build failure on amd64 (strange that I wouldn't get it on i386) on
current-users by Kurt Schreiner.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Mar 13 18:24:41 2009 UTC (15 years, 1 month ago) by cube
Branch: MAIN
Changes since 1.28: +7 -4 lines
Diff to previous 1.28 (colored) to selected 1.44.8.1 (colored)

Actually allow a full expression for the condition for "makeoptions" in
files.*

Patch from Yorick Hardy.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 15 01:39:54 2009 UTC (15 years, 1 month ago) by cube
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.44.8.1 (colored)

- Allow substition of options values in the generated Makefile using the
  syntax %OPTION%.
- Make it possible to specify a syntax version information in the Makefile.
- Bump version to 20090214.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jan 20 18:20:48 2009 UTC (15 years, 2 months ago) by drochner
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.26: +15 -9 lines
Diff to previous 1.26 (colored) to selected 1.44.8.1 (colored)

Change major()/minor() to return 32-bit types again, called
devmajor_t/devminor_t, as proposed on tech-kern.
This avoids 64-bit arithmetics and 64-bit printf formats in parts
of the kernel where it is not really useful, and helps clarity.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Dec 28 01:23:46 2008 UTC (15 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored) to selected 1.44.8.1 (colored)

rename nv_int -> nv_num and make it long long, so that dev_t will fit when
we change it.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 21 11:39:56 2008 UTC (15 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.44.8.1 (colored)

bump version due to recent rootfs changes

Revision 1.22.6.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:29:09 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.22.6.1: +2 -2 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.44.8.1 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Aug 30 02:59:55 2008 UTC (15 years, 7 months ago) by cube
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.44.8.1 (colored)

Bump CONFIG_VERSION after the previous fix to main.c.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:10 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.44.8.1 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:21 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.44.8.1 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jun 10 14:03:57 2008 UTC (15 years, 10 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.44.8.1 (colored)

Do proper config(5) version checking after previous changes [hi drochner!].

The rule is, if you change scan.l or gram.y, you bump the config(5)
version.  If you implement the changes under sys/conf/files or affiliate,
you bump the required version in sys/conf/files or in an appropriate place
to minimise annoyance.  If the changes makes new config(1) incompatible
with a previous version of config(5), embed it in config(1) using the
CONFIG_MINVERSION definition along with CONFIG_VERSION.

This has been in the tree for what, 3 years now?  It's even documented...

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Wed Jan 9 02:00:35 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.44.8.1 (colored)

sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 12 00:03:33 2007 UTC (16 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: yamt-pf42, wrstuden-revivesa
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored) to selected 1.44.8.1 (colored)

Use a common function to generate the "MACHINE GENERATED" comment,
and ensure mkswap.c adds it too.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Nov 9 23:41:08 2007 UTC (16 years, 5 months ago) by cube
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.44.8.1 (colored)

Add support for "ifdef <attribute>" blocks.  It goes like this:

ifdef <attr> / ifndef <attr>
elifdef <attr>
elifndef <attr>
else
endif

No indentation is possible for now, it will come later.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jan 13 23:47:36 2007 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.19: +6 -10 lines
Diff to previous 1.19 (colored) to selected 1.44.8.1 (colored)

- rename {x,}error -> cfg{x,}error and {x,}warn -> cfg{x,}warn so that we
  can use err(3) and warn(3) to display errors instead of using inconsistent
  fprintf's.
- remove emalloc/estrdup etc. We have them in libutil.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 12 21:49:51 2007 UTC (17 years, 3 months ago) by cube
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored) to selected 1.44.8.1 (colored)

Handle defopt lists properly, as ':=' syntax introduce an additional
element...  For that, introduce nvcat(nv1, nv2).

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 9 13:03:47 2007 UTC (17 years, 3 months ago) by cube
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored) to selected 1.44.8.1 (colored)

Add new syntaxic sugar to provide a value in lint (i.e., config -L)
configurations for defparams.  It will be used _only_ by config -L.

This will greatly help automating tests with lint configurations,
hopefully.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jan 8 16:08:08 2007 UTC (17 years, 3 months ago) by cube
Branch: MAIN
Changes since 1.16: +7 -1 lines
Diff to previous 1.16 (colored) to selected 1.44.8.1 (colored)

Introduce a new option to config(1):  -L.  What it does is takes a regular
configuration file (although it is meant to be used mostly with
std.${ARCH}), and prints out a configuration file that includes it and
select every single option and parameter, and define an instance for every
single possible attachment.  IOW, selects everything, into a would-be
"LINT" config.

The resulting config really isn't meant to be runnable, but should be
somewhat buildable on most archs.  It still needs adjustments because some
options are peculiar (e.g., ACPI_DSDT_FILE wants an existing file as its
value), so it's not yet possible to do "config -L; config; build" in an
automated way.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Sep 27 19:05:46 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored) to selected 1.44.8.1 (colored)

Coverity CID 175: Avoid memory leak; add new function to destroy a hash table.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 4 07:32:50 2006 UTC (17 years, 7 months ago) by cube
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.44.8.1 (colored)

Bump version after last feature addition (default value for defparam).

Revision 1.14 / (download) - annotate - [select for diffs], Sun Sep 3 07:45:40 2006 UTC (17 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.13: +8 -12 lines
Diff to previous 1.13 (colored) to selected 1.44.8.1 (colored)

There isn't really any point in the 'union' for nv_str and nv_ptr, all it
does is cause confusion when I try to add default values for defparam.
Also if malloc()/free() aren't efficient enough for us, we ought to fix
them rather than having local free list - so kill the local free lists.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 30 13:48:11 2006 UTC (17 years, 7 months ago) by cube
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.44.8.1 (colored)

Bump version after deffs change.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 30 10:12:25 2006 UTC (17 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.44.8.1 (colored)

Allow deffs to take dependencies like defflag and defopt

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:17:06 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.9: +6 -4 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.44.8.1 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 4 13:52:27 2006 UTC (17 years, 10 months ago) by cube
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.44.8.1 (colored)

Bump version after fix to obsolete syntax.

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 25 22:28:38 2006 UTC (17 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.9: +6 -4 lines
Diff to previous 1.9 (colored) to selected 1.44.8.1 (colored)

Introduce two new statements:

    obsolete defflag <option> [, <option> [, ...]]
    obsolete defparam <option> [, <option> [, ...]]

The two statements actually do the same thing (there could be only one),
but it makes things less cryptic that way.  The optional ": deps" part of
a 'defflag' or 'defparam' still has to be dropped when it gets obsoleted.

When the user has 'options OBSOLETE_OPTION' in his configuration file, it
is ignored (that is, opt_*.h files are generated as if it wasn't there),
and the user gets a warning about it.

Bump version to 20060525.

When someone first uses that syntax in the tree, a "version 20060525"
statement should be added before its occurrence, preferably at the top
of sys/conf/files.

Suggested by Matt Thomas a few months ago.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 7 03:26:20 2005 UTC (18 years, 5 months ago) by erh
Branch: MAIN
Branch point for: chap-midi
Changes since 1.8: +42 -19 lines
Diff to previous 1.8 (colored) to selected 1.44.8.1 (colored)

Remove special hack for swapnetbsd.c when generating the makefile.
 Instead, just add it to the list of files.
Make "prefix foo" lines actually work right when foo is an absolute path,
 and make sure the length calculations correspond to the output.
Provide a way to specify a file that will always be included, and a way
 to omit the prologue ("$S/") on that file.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 12 01:17:43 2005 UTC (18 years, 6 months ago) by cube
Branch: MAIN
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (colored) to selected 1.44.8.1 (colored)

Introduce versioning to config(1).  This will allow us to provide a way to
error out in a bit more friendly way when the user is trying to use
config(1) on a too old or too recent source tree.

To achieve that, introduce the "version NUMBER" statement which can be use
about anywhere in the config files.  Also, use two defines, CONFIG_VERSION
(which is the actual version of binary), and CONFIG_MINVERSION, which is
the minimum version the binary supports.

Allowing a range of versions serves several purposes:  first it allows me
to introduce the versioning without requiring it to be used right away in
the kernel tree, which means it will be possible to introduce new features
of config(1) rather progressively in the future.  E.g., using 'no pci' in
a config file could only require the new version in that config file, so
that the rest remains compatible.

In the end, an actual bump of the main config system (i.e., in conf/files)
will only be required when e.g., ioconf.c semantics change.

(Mostly-)silently accepted on tech-kern.  Error messages turned into
correct and meaningful English thanks to Tracy and Perry.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 4 20:13:39 2005 UTC (18 years, 6 months ago) by cube
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored) to selected 1.44.8.1 (colored)

- Make sure to try aliases of removed device instances when walking
  deaddevitab.
- Record the position in the config file of device instances so it is
  possible to tell if a device instance was declared before or after its
  parent's removal.

  E.g.:

     child* at parent?
     no parent

   will have the child instance ignored as an explicit orphan, while

     no parent
     child* at parent?

   will error out because now the child instance is a real orphan.

  That let the POSTPONED_ORPHAN regression test pass.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 4 13:06:45 2005 UTC (18 years, 6 months ago) by cube
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) to selected 1.44.8.1 (colored)

Add a flag to mark broken instances.  That might happen when there is a
syntax error in the file, yet we want to somehow gracefully go on in order
to print out all the errors in the file, which means we have to take
special care with those structures.

Reported by Simon Burge in private mail.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 4 12:35:00 2005 UTC (18 years, 6 months ago) by cube
Branch: MAIN
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored) to selected 1.44.8.1 (colored)

- Keep track of the file in which we find the device instance
- Introduce xwarn() for delayed warnings
- Use xerror() and xwarn() in fixdevis() to notify about orphans

That way the correct file is printed when listing orphaned devices.

Reported by Juergen Hannken-Illjes in private mail.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 1 23:30:37 2005 UTC (18 years, 6 months ago) by cube
Branch: MAIN
Changes since 1.3: +6 -2 lines
Diff to previous 1.3 (colored) to selected 1.44.8.1 (colored)

o  Keep track of negated devices in deaddevitab
o  Rework do_kill_orphans() to use that information and mark explicitely
   orphaned devices (i.e., the ones whose missing ancestor has been
   negated)
o  Make a distinction between erroneous orphans and explicit orphans.
   Error out on the former, ignore the later (but print a warning when -v
   is used)

Yes, now config(1) will actually stop if you comment out a parent.  That
should help people still hoping adjustkernel is relevant these days :)

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 30 22:36:20 2005 UTC (18 years, 6 months ago) by cube
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored) to selected 1.44.8.1 (colored)

Rework the way orphan device instances are handled.  To achieve that, keep
track of instances attaching at root, and walk down the tree of active
device instances.  Then, all instances that are not marked active are
found as orphans.

Doing it that way allows us to simply ignore orphan devices, instead of
warning about them and still keep them in the configuration.  Now, orphaned
instances are considered as never having existed.

In the end, this allows 'no <device> at <attachment>' to be much more
efficient, as the user doesn't have to negate all descendents of the
instance s/he actually wants to negate.  Warnings are still emitted,
though.

While there, make official a side-effect of the previous lack of action
against orphaned instances:  config(1) used to warn about instances that
attach at a numbered device when no instance of that device with that
number existed, even though there was a starred instance of the device.

E.g. (provided by Alan Barrett):

    pciide* at pci? dev ? function ? flags 0x0000
    wdc0    at isa? port 0x1f0 irq 14 flags 0x00
    wdc1    at isa? port 0x170 irq 15 flags 0x00
    atabus* at ata?
    wd0     at atabus0 drive 0

With this commit, config(1) will no longer warn about 'wd0 at atabus0'.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 10 15:38:46 2005 UTC (18 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.44.8.1 (colored)

Move package/cinclude/include handling from the parser to the scanner,
where it belongs. This has the side effect of fixing PR toolchain/30903.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jun 5 18:19:53 2005 UTC (18 years, 10 months ago) by thorpej
Branch: MAIN
Diff to selected 1.44.8.1 (colored)

config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin.  Move them
there.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>