[owc] Weekly src changes ending 2007-11-18
OWC
auto at squish.net
Mon Nov 19 07:00:01 GMT 2007
OpenBSD src changes summary for 2007-11-11 to 2007-11-18 inclusive
==================================================================
bin/chio distrib/miniroot
distrib/sets etc/etc.macppc/MAKEDEV
etc/etc.macppc/MAKEDEV.md etc/rc
gnu/usr.bin/perl lib/libarch
lib/libc lib/libossaudio
sbin/dhclient sbin/dump
sbin/ipsecctl sbin/ldattach
sbin/mount sbin/mount_cd9660
sbin/pfctl sbin/sysctl
share/man sys/altq
sys/arch/alpha/include sys/arch/amd64/amd64
sys/arch/amd64/conf sys/arch/amd64/include
sys/arch/amd64/pci sys/arch/aviion/aviion
sys/arch/i386/conf sys/arch/i386/i386
sys/arch/i386/include sys/arch/i386/pci
sys/arch/luna88k/luna88k sys/arch/m88k/include
sys/arch/m88k/m88k sys/arch/macppc/conf
sys/arch/macppc/include sys/arch/macppc/macppc
sys/arch/mvme88k/dev sys/arch/mvme88k/include
sys/arch/mvme88k/mvme88k sys/arch/powerpc/conf
sys/arch/powerpc/include sys/arch/powerpc/powerpc
sys/arch/sgi/dev sys/arch/sgi/localbus
sys/arch/sparc64/dev sys/arch/sparc64/include
sys/arch/sparc64/sparc64 sys/conf
sys/crypto sys/ddb
sys/dev sys/dev/acpi
sys/dev/ata sys/dev/cardbus
sys/dev/ic sys/dev/microcode
sys/dev/mii sys/dev/pci
sys/dev/usb sys/kern
sys/msdosfs sys/net
sys/net80211 sys/netinet
sys/scsi sys/sys
usr.bin/cdio usr.bin/chpass
usr.bin/cvs usr.bin/du
usr.bin/make usr.bin/pcc
usr.bin/pctr usr.bin/rpcgen
usr.bin/systat usr.bin/top
usr.bin/uniq usr.sbin/ac
usr.sbin/bgpd usr.sbin/bind
usr.sbin/cron usr.sbin/dvmrpd
usr.sbin/eeprom usr.sbin/gpioctl
usr.sbin/hostapd usr.sbin/hoststated
usr.sbin/ifstated usr.sbin/ntpd
usr.sbin/ospf6d usr.sbin/ospfd
usr.sbin/pcidump usr.sbin/pkg_add
usr.sbin/pppoe usr.sbin/ripd
usr.sbin/vipw
== bin =============================================================== 01/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/bin
chio
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
== distrib =========================================================== 02/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
miniroot
~ dot.profile
> Simplify the sed expression used to set 'rootdisk'. Shaves bytes from the
> install media. From Tamas Tevesz. (krw@)
sets
~ lists/base/mi ~ lists/man/mi
> sync (pvalchev@)
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.hp300
~ lists/base/md.hppa ~ lists/base/md.hppa64
~ lists/base/md.i386 ~ lists/base/md.mac68k
~ lists/base/md.macppc ~ lists/base/md.mvme68k
~ lists/base/md.mvmeppc ~ lists/base/md.sgi
~ lists/base/md.sparc ~ lists/base/md.sparc64
~ lists/base/md.zaurus
> sync (deraadt@)
~ lists/base/md.macppc ~ lists/man/mi
> sync (deraadt@)
~ lists/man/mi
> sync (deraadt@)
~ lists/comp/md.macppc
> sync (deraadt@)
~ lists/base/md.macppc
> sync (deraadt@)
~ lists/base/md.sparc64 ~ lists/comp/md.sparc64
> sync (deraadt@)
~ lists/comp/mi
> sync (deraadt@)
~ lists/base/md.sparc64 ~ lists/base/mi
~ lists/comp/md.sparc64 ~ lists/etc/mi
> sync (deraadt@)
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.aviion
~ lists/base/md.hp300 ~ lists/base/md.hppa
~ lists/base/md.hppa64 ~ lists/base/md.i386
~ lists/base/md.landisk ~ lists/base/md.luna88k
~ lists/base/md.mac68k ~ lists/base/md.macppc
~ lists/base/md.mvme68k ~ lists/base/md.mvme88k
~ lists/base/md.mvmeppc ~ lists/base/md.sgi
~ lists/base/md.sparc ~ lists/base/md.sparc64
~ lists/base/md.vax ~ lists/base/md.zaurus
~ lists/base/mi ~ lists/comp/mi
> sync (deraadt@)
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.hppa
~ lists/base/md.hppa64 ~ lists/base/md.i386
~ lists/base/md.macppc ~ lists/base/md.sgi
~ lists/base/md.sparc64 ~ lists/man/mi
> sync (deraadt@)
== etc =============================================================== 03/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/etc
etc.macppc/MAKEDEV
~ etc.macppc/MAKEDEV
> sync (kettenis@)
etc.macppc/MAKEDEV.md
~ etc.macppc/MAKEDEV.md
> openprom (kettenis@)
rc
~ rc
> -w flag for wsconsctl is deprecated; from Tim van der Molen (jmc@)
== gnu =============================================================== 04/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/gnu
usr.bin/perl
~ MANIFEST ~ lib/File/Temp.pm
+ lib/File/Temp/t/cmp.t + lib/File/Temp/t/seekable.t
> update File::Temp to CPAN version 0.18 as other modules start to use it
> ok millert@ (simon@)
== lib =============================================================== 05/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libarch
~ arm/arm_drain_writebuf.2 ~ arm/arm_sync_icache.2
> "arm" is not a valid .Dt arch; remove it, as this page is for both
> armish and zaurus
> quote >9 args to .Nd (jmc@)
libc
~ stdlib/strtod.3
> strtod may return HUGE_VAL on overflow, which is defined in math.h.
> Therefore added math.h to SYNPOSIS.
> OK millert@ (tobias@)
~ stdlib/strtol.3 ~ stdlib/strtoul.3
> Put limits.h in front of stdlib.h as style(9) recommends.
> OK millert@ (tobias@)
libossaudio
~ ossaudio.c ~ shlib_version
~ soundcard.h
> implement SNDCTL_DSP_GETODELAY
> bump minor version
> ok deanna@ (jakemsr@)
~ ossaudio.c
> this is the recording source. rename 'source' to 'recsource' and be
> sure to only use 'record.source' instead of possibly 'inputs.source'.
> (jakemsr@)
== sbin ============================================================== 06/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
dhclient
~ dispatch.c
> dont spew debug output when the SIOCGIFMEDIA ioctl errors with ENOTTY.
> ok krw@ henning@ (dlg@)
dump
~ dump.8
> do not confuse the reader telling he should use a towers of hanoi
> based scheme when it makes no sense: a weekly schedule does not
> benefit from it. ok mbalmer@ jmc@ ray@ (otto@)
ipsecctl
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
ldattach
~ ldattach.8 ~ ldattach.c
> Do not set explicit com parameters for the tty, instead use the exisiting
> ones and onl change what the user requests. Do not artifically limit the
> baudrates.
> prodding and ok by deraadt. (mbalmer@)
~ ldattach.8
> zap trailing whitespace; (jmc@)
mount
~ mount.c
> Don't err() out if a fstab line refers to a non-existant mount point.
> Just print an error message and allow processing to continue. This
> fixes 'mount -a' so it mounts all the filesystems it can rather than
> skipping all fstab entries after a non-existant mount point.
> This also brings us more into line with NetBSD and FreeBSD behaviour.
> ok deraadt@ jsing@ millert@ (krw@)
mount_cd9660
~ mount_cd9660.8
> +.Xr cdio 1 , (jmc@)
pfctl
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
~ parse.y
> Bring back the number converter for 'set hostid'.
> I forgot to think about hex numbers when I removed it.
> OK deraadt@ (mpf@)
sysctl
~ sysctl.8 ~ sysctl.c
> do not document -w: it is for compat only. just like we did for audioctl,
> mixerctl, and wsconsctl.
> also move to "name=value", as for the other *ctl apps.
> problem spotted by Tim van der Molen, though this might not be the fix
> he wanted; (jmc@)
== share ============================================================= 07/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/uftdi.4
> support little I-O DATA UPS GPS thingy (deraadt@)
~ man4/uscanner.4
> tidy up the hardware list a little; ok ajacoutot (jmc@)
~ man4/mbg.4
> Update after recently committed changes to the mbg(4) driver code.
> (mbalmer@)
~ man4/mbg.4 ~ man4/umbg.4
> tweak; (jmc@)
~ man4/man4.macppc/Makefile + man4/man4.macppc/openprom.4
> openprom(4) (kettenis@)
~ man4/man4.macppc/openprom.4
> - macppc for .Dt
> - no eeprom(8) for macppc (jmc@)
~ man4/man4.macppc/openprom.4
> macppc does have eeprom(8) now (kettenis@)
~ man9/Makefile ~ man9/ieee80211.9
> Add ieee80211_rate2plcp() and ieee80211_plcp2rate() functions, which
> convert the PLCP header signal field to a rate value and vice versa.
> This implementation has been discussed with Damien and doesn't change
> any existing net80211 structures.
> ok damien@ (mglocker@)
~ man4/acpi.4
> ACPI_ENABLE went away (deraadt@)
~ man4/Makefile + man4/uticom.4
> driver for TI TUSB3410 usb serial, written by dxi at mail.ru and
> hasso at dragonfly.org, ported but not yet tested.. waiting for hardware
> (deraadt@)
~ man4/ucom.4 ~ man4/usb.4
> Xr uticom (deraadt@)
~ man4/uticom.4
> repair some glitches in the hope that jmc will not increase his commit
> count by 1 more... (deraadt@)
~ man4/man4.i386/glxpcib.4
> Document that glxpcib(4) provides a gpio(4) device. (mbalmer@)
~ man4/pci.4 ~ man4/man4.i386/glxpcib.4
> pci.4: sync glxpcib description
> glxpcib.4: sort SEE ALSO; tidy up AUTHORS (jmc@)
~ man4/man4.i386/glxpcib.4
> .Xr gpioctl 8 from here. (mbalmer@)
~ man4/gpio.4
> .Xr glxpcib 4 (mbalmer@)
~ man4/gpio.4
> List all gpio(4) devices in the SYNOPSIS but not in the SEE ALSO section.
> Mention GPIO_PIN_PULLDOWN.
> requested by and discussed with jmc@ (mbalmer@)
~ man4/ath.4 ~ man4/iic.4
~ man4/nsclpcsio.4 ~ man4/pcaled.4
~ man4/cardbus.4 ~ man4/pci.4
~ man4/isa.4 ~ man4/man4.i386/elansc.4
~ man4/man4.i386/gscpcib.4 ~ man4/man4.i386/glxpcib.4
~ man4/man4.macppc/macgpio.4
> GPIO improvements:
> - make "man -k gpio" work
> - gpioctl(8) should not try to list all gpio devices (it's why we have man
> -k)
> - gpio devices should have "GPIO" in their .Nd, and cross-reference gpio(4)
> and gpioctl(8)
> second set of fixes for gpio(4) itself coming from mbalmer... (jmc@)
~ man4/man4.macppc/macgpio.4
> macgpio(4) does not implement the gpio(4) interface. Do not Xr gpio(4) and
> gpioctl(8).
> ok jmc (mbalmer@)
~ man4/man4.i386/glxpcib.4
> Sort list of device in SYNOPSIS. (mbalmer@)
~ man4/ral.4
> + RT2800 (damien@)
~ man4/man4.i386/pctr.4
> quote macro calls containing >9 args; (jmc@)
~ man4/Makefile ~ man4/ral.4
+ man4/ural.4
> separate ural(4) man page from ral(4) man page. (damien@)
~ man4/rum.4
> sync url with ral & ural man pages. (damien@)
~ man4/ural.4
> sync device list formatting with rum(4) (one device per line). (damien@)
~ man4/ral.4
> Add some RT2860 802.11n-Draft 2.0 devices:
> AirLive WN-5000PCI, ASUS WL-130N, Edimax EW-7728In, Planex PCI-GW-DS300N,
> SparkLAN WMIR-215GN. (damien@)
~ man4/ral.4
> typo (damien@)
~ man9/ieee80211.9
> make it clear in the code and in the man page that the rate2plcp and
> plcp2rate functions use plcp codes in most-significant-bit-first format
> (R4-R1).
> some drivers like wpi(4) and iwn(4) want plcp codes in lsb-first format
> so they can't use those functions.
> also the IEEE standard uses R1-R4 notation so this can be a bit confusing
> for those refering to it.
> use u_int8_t for plcp code and rate instead of int. (damien@)
~ man4/cardbus.4 ~ man4/pci.4
~ man4/usb.4
> update the descriptions for ral(4) and ural(4); (jmc@)
~ man4/uticom.4
> cvs header (deraadt@)
~ man4/gpio.4
> GPIO pins can be programmed to invert input or output on some devices.
> Introduce new flags, GPIO_PIN_INVIN and GPIO_PIN_INVOUT, for this.
> ok grange (mbalmer@)
~ man4/acpitimer.4
> the ACPI -> ACPI
> ok dlg@ (brad@)
~ man4/zyd.4
> add the Planex GW-US54GXS adapter.
> From the Linux ZyDAS driver.
> ok dlg@ (brad@)
~ man4/usb.4
> the serial number locator thing is absolute balony (deraadt@)
== sys =============================================================== 08/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
altq
~ if_altq.h
> Sync struct ifaltq to match struct ifqueue.
> I wonder why 64-bit archs have not been bitten by this.
> OK mcbride@, henning@ (mpf@)
arch/alpha/include
~ cpu.h
> ``stastic'' is a fantastic typo. (miod@)
arch/amd64/amd64
~ fpu.c
> fix some problems with lazy fpu context handling:
> put the "fninit" where it belongs logically
> deal with XMM exceptions
> From NetBSD (drochner) (millert@)
~ acpi_machdep.c
> Use isa_intr_establish() to establish the SCI interrupt handler; this makes
> sure that interrupt overrides from the MADT are applied.
> ok marco@, toby@ (kettenis@)
~ db_interface.c
> Be consistent in db_cmd_loop_done declaration. (miod@)
~ acpi_machdep.c
> remove the #ifdef ACPI_ENABLE. the EC codepath is either safe enough (and
> will be improved), or it is unsafe because AML assumes it must be there
> ok almost everyone (deraadt@)
~ acpi_machdep.c
> do not make up a device name for interrupts.. give it the dv_xname
> (deraadt@)
~ bus_space.c ~ cpu.c
~ db_interface.c ~ lapic.c
~ mainbus.c ~ mpbios.c
> fix the bus_space #define nightmare, so that amd64 and i386 are much more
> uniform. as a result shared code like acpi needs less #ifdef's
> ok marco kettenis (deraadt@)
arch/amd64/conf
~ GENERIC ~ RAMDISK
~ RAMDISK_CD
> enable most acpi functionality by default. now instead of 'enable acpi',
> you use 'disable acpi' or 'disable apm' withn you encounter problems
> (depending on which kind of problems). if we work hard enough, this can
> remain the situation by the time we ship the next release. otherwise, we
> will re-disable acpi... so let's crackin' (deraadt@)
arch/amd64/include
~ smbiosvar.h
> Add struct for processors.
> ok deraadt (marco@)
~ smbiosvar.h
> oops, processor structs need to be __packed.
> prompted by deraadt (marco@)
~ smbiosvar.h
> Clarify when smbios added multi core support and add the missing string
> designations.
> ok deraadt (marco@)
~ smbiosvar.h
> Split CPUID into 2 32 bit fields.
> ok deraadt (marco@)
~ bus.h ~ cpu.h
~ mpconfig.h ~ rbus_machdep.h
> fix the bus_space #define nightmare, so that amd64 and i386 are much more
> uniform. as a result shared code like acpi needs less #ifdef's
> ok marco kettenis (deraadt@)
~ kcore.h
> typo
> ok deraadt (mikeb@)
arch/amd64/pci
~ pchb.c
> Remove microtime calls and RNG benchmarking from the pchb attachment
> code. This is due to the fact that we do timecounter initialization
> after autoconf(9).
> ok deraadt (mikeb@)
arch/aviion/aviion
~ machdep.c
> Merge the ci_alive and ci_primary boolean values of struct cpu_info into
> a single ci_flags bitfield.
> Also, set_cpu_number() will no longer set CIF_PRIMARY on the primary
> processor,
> it's up to the initialization code to do this. (miod@)
~ locore.S ~ machdep.c
> Stop referring the initial kernel stack as the ``interrupt stack''. It's
> been years since it has last been used for that purpose, so name it the
> initialization/startup stack.
> While there, do not store the initialization stack in cpu_info, and have
> secondary_pre_main() return its value so that the bootstrap code does not
> need to fetch it from cpu_info.
> This might be reconsidered when the startup stacks will be freed after they
> are not used anymore, but there are more things to do first. (miod@)
~ eh.S
> At last, port the mvme88k eh.S r1.66 fixes to aviion. (miod@)
~ disksubr.c
> Remove unused variable. (miod@)
~ av400_machdep.c
> The initial ipl on luna/mvme188 like interrupt arbiters is IPL_HIGH, not
> IPL_NONE; fixes a false splassert warning on boot. (miod@)
~ av400_machdep.c ~ machdep.c
> Rework {get,set,raise}ipl() to minimize psr modification, especially on
> boards such as mvme1[89]7 where spl changes can be atomic. (miod@)
~ av400_machdep.c ~ machdep.c
> Replace many ``unsigned'' variables with ``unsigned int'', ``u_int'' or
> other
> appropriate types. No functional change. (miod@)
arch/i386/conf
~ GENERIC ~ RAMDISK
~ RAMDISKB ~ RAMDISKC
~ RAMDISK_CD
> enable most acpi functionality by default. now instead of 'enable acpi',
> you use 'disable acpi' or 'disable apm' withn you encounter problems
> (depending on which kind of problems). if we work hard enough, this can
> remain the situation by the time we ship the next release. otherwise, we
> will re-disable acpi... so let's crackin' (deraadt@)
~ RAMDISKC
> something has to go, unfortunately (deraadt@)
~ GENERIC ~ files.i386
> Make the GPIO functionality of the AMD Geode LX CS5536 available.
> gpio* at glxpcib?
> Based on an initial diff from Martin Hedenfalk <martin at bzero.se> which
> I largely rewrote.
> Tested on the ALIX.3C1 and the Soekris net5501.
> ok dlg, grange, marco (mbalmer@)
arch/i386/i386
~ machdep.c
> Select the right GDT entry for interrupt handlers on i386 systems when
> using ioapics, so that interrupt time is accounted correctly. This
> fixes the problem that 0% interrupt time is always shown when running MP.
> ok dlg@, suspect this is correct art@, just an oversight niklas@ (pascoe@)
~ db_interface.c
> Be consistent in db_cmd_loop_done declaration. (miod@)
~ via.c
> do not process requests linked to unused sessions. (crypto_freesession
> might happen between enqueuing a crypto request and scheduling of
> the crypto thread); ok hshoexer (markus@)
~ bios.c
> in MP kernels, use smbios to count number of cpus. if > 1 disable apm, so
> that acpi can get a chance at controlling the machine.
> done with marco, and even tested on the nastiest case: smbios <2.5 w/ HTT
> (deraadt@)
~ acpi_machdep.c
> remove the #ifdef ACPI_ENABLE. the EC codepath is either safe enough (and
> will be improved), or it is unsafe because AML assumes it must be there
> ok almost everyone (deraadt@)
~ acpi_machdep.c
> do not make up a device name for interrupts.. give it the dv_xname
> (deraadt@)
~ cpu.c ~ db_interface.c
~ db_mp.c ~ pmap.c
~ pmapae.c
> fix the bus_space #define nightmare, so that amd64 and i386 are much more
> uniform. as a result shared code like acpi needs less #ifdef's
> ok marco kettenis (deraadt@)
arch/i386/include
~ smbiosvar.h
> Add struct for processors.
> ok deraadt (marco@)
~ smbiosvar.h
> oops, processor structs need to be __packed.
> prompted by deraadt (marco@)
~ smbiosvar.h
> Clarify when smbios added multi core support and add the missing string
> designations.
> ok deraadt (marco@)
~ smbiosvar.h
> Split CPUID into 2 32 bit fields.
> ok deraadt (marco@)
~ cpu.h
> fix the bus_space #define nightmare, so that amd64 and i386 are much more
> uniform. as a result shared code like acpi needs less #ifdef's
> ok marco kettenis (deraadt@)
arch/i386/pci
~ glxsb.c
> do not process requests linked to unused sessions. (crypto_freesession
> might happen between enqueuing a crypto request and scheduling of
> the crypto thread); ok hshoexer (markus@)
~ pchb.c
> Remove microtime calls and RNG benchmarking from the pchb attachment
> code. This is due to the fact that we do timecounter initialization
> after autoconf(9).
> ok deraadt (mikeb@)
~ glxpcib.c
> Make the GPIO functionality of the AMD Geode LX CS5536 available.
> gpio* at glxpcib?
> Based on an initial diff from Martin Hedenfalk <martin at bzero.se> which
> I largely rewrote.
> Tested on the ALIX.3C1 and the Soekris net5501.
> ok dlg, grange, marco (mbalmer@)
~ glxpcib.c
> Support GPIO_PIN_PULLDOWN (pulldown-enable) as GPIO pin flag. (mbalmer@)
~ glxpcib.c
> Allow for more than one flag per GPIO pin.
> ok grange. (mbalmer@)
~ glxpcib.c
> AMD Geode CS5536 GPIO can invert input and output pins. (mbalmer@)
arch/luna88k/luna88k
~ m8820x.c ~ machdep.c
> Merge the ci_alive and ci_primary boolean values of struct cpu_info into
> a single ci_flags bitfield.
> Also, set_cpu_number() will no longer set CIF_PRIMARY on the primary
> processor,
> it's up to the initialization code to do this. (miod@)
~ locore.S ~ machdep.c
> Stop referring the initial kernel stack as the ``interrupt stack''. It's
> been years since it has last been used for that purpose, so name it the
> initialization/startup stack.
> While there, do not store the initialization stack in cpu_info, and have
> secondary_pre_main() return its value so that the bootstrap code does not
> need to fetch it from cpu_info.
> This might be reconsidered when the startup stacks will be freed after they
> are not used anymore, but there are more things to do first. (miod@)
~ machdep.c
> The initial ipl on luna/mvme188 like interrupt arbiters is IPL_HIGH, not
> IPL_NONE; fixes a false splassert warning on boot. (miod@)
~ machdep.c
> Rework {get,set,raise}ipl() to minimize psr modification, especially on
> boards such as mvme1[89]7 where spl changes can be atomic. (miod@)
~ machdep.c
> Replace many ``unsigned'' variables with ``unsigned int'', ``u_int'' or
> other
> appropriate types. No functional change. (miod@)
arch/m88k/include
~ db_machdep.h
> Let ``machine cpu #'' hop to the given cpu. (miod@)
~ cpu.h
> Merge the ci_alive and ci_primary boolean values of struct cpu_info into
> a single ci_flags bitfield.
> Also, set_cpu_number() will no longer set CIF_PRIMARY on the primary
> processor,
> it's up to the initialization code to do this. (miod@)
~ cpu.h
> Stop referring the initial kernel stack as the ``interrupt stack''. It's
> been years since it has last been used for that purpose, so name it the
> initialization/startup stack.
> While there, do not store the initialization stack in cpu_info, and have
> secondary_pre_main() return its value so that the bootstrap code does not
> need to fetch it from cpu_info.
> This might be reconsidered when the startup stacks will be freed after they
> are not used anymore, but there are more things to do first. (miod@)
~ frame.h
> Resolve the struct trapframe tf_mode/tf_flags duality by getting rid of
> the tf_mode name. This field only contains flags used internally by the
> exception processing code. (miod@)
~ intr.h
> Rework {get,set,raise}ipl() to minimize psr modification, especially on
> boards such as mvme1[89]7 where spl changes can be atomic. (miod@)
~ asm_macro.h ~ m88100.h
~ pcb.h ~ trap.h
> Replace many ``unsigned'' variables with ``unsigned int'', ``u_int'' or
> other
> appropriate types. No functional change. (miod@)
arch/m88k/m88k
~ m8820x_machdep.c
> In dma_cachectl(), flush unconditionnaly on all processors, regardless of
> the
> cpu bitmask of the pmap. (miod@)
~ db_interface.c
> Give more information in ``machine cpu'' under ddb. (miod@)
~ db_interface.c
> Let ``machine cpu #'' hop to the given cpu. (miod@)
~ eh_common.S
> When servicing an exception, do not enable interrupts if they were not
> enabled when the exception occured. This should not happen in practice,
> but better be safe than sorry. (miod@)
~ trap.c
> When processing a data access fault, keep the kernel lock while invoking
> data_access_emulation() to complete the interrupted pipeline operations,
> as data_access_emulation() can fault in turn. (miod@)
~ db_interface.c ~ genassym.cf
~ m8820x_machdep.c ~ m88k_machdep.c
~ pmap.c
> Merge the ci_alive and ci_primary boolean values of struct cpu_info into
> a single ci_flags bitfield.
> Also, set_cpu_number() will no longer set CIF_PRIMARY on the primary
> processor,
> it's up to the initialization code to do this. (miod@)
~ db_interface.c
> Cache curcpu() value into a local variable when it is used more than once
> in
> a function, so that it does not get reloaded from cr17 every time. (miod@)
~ eh_common.S ~ genassym.cf
> Stop referring the initial kernel stack as the ``interrupt stack''. It's
> been years since it has last been used for that purpose, so name it the
> initialization/startup stack.
> While there, do not store the initialization stack in cpu_info, and have
> secondary_pre_main() return its value so that the bootstrap code does not
> need to fetch it from cpu_info.
> This might be reconsidered when the startup stacks will be freed after they
> are not used anymore, but there are more things to do first. (miod@)
~ eh_common.S
> Make a few end-of-trap-handling symbols global, to get better ddb traces.
> Also, pick better symbol names in the sir/ast processing. (miod@)
~ eh_common.S ~ genassym.cf
~ m88k_machdep.c
> Check for curcpu()->ci_softintr being nonzero before invoking dosoftint(),
> in the common case, this saves us two potentially expensive setipl() calls.
> (miod@)
~ eh_common.S ~ genassym.cf
~ m88k_machdep.c
> Resolve the struct trapframe tf_mode/tf_flags duality by getting rid of
> the tf_mode name. This field only contains flags used internally by the
> exception processing code. (miod@)
~ db_trace.c ~ eh_common.S
~ m88100_machdep.c ~ m88k_machdep.c
~ sig_machdep.c ~ trap.c
> Replace many ``unsigned'' variables with ``unsigned int'', ``u_int'' or
> other
> appropriate types. No functional change. (miod@)
arch/macppc/conf
~ files.macppc
> /dev/openprom
> ok miod@, deraadt@ (kettenis@)
~ GENERIC ~ RAMDISK
> - move the re/bwi CardBus entries in the GENERIC kernel config into
> the CardBus section.
> - add forgotten re CardBus entry to the RAMDISK kernel config.
> ok dlg@ (brad@)
arch/macppc/include
~ conf.h + openpromio.h
> /dev/openprom
> ok miod@, deraadt@ (kettenis@)
arch/macppc/macppc
~ conf.c ~ openfirm.c
+ openprom.c
> /dev/openprom
> ok miod@, deraadt@ (kettenis@)
arch/mvme88k/dev
~ vme.c
> Add some preprocessor magic to let M187 and M188 kernels compile again.
> (miod@)
arch/mvme88k/include
~ mvme188.h
> Use two software interrupt sources per processor for IPIs, instead of only
> one, so that we can have maskable and unmaskable IPIs. Make the clock ipis
> maskable, and masked at IPL_CLOCK and above. This allows us to get rid
> of the retrig hack in setipl(). (miod@)
~ m88110.h
> Replace many ``unsigned'' variables with ``unsigned int'', ``u_int'' or
> other
> appropriate types. No functional change. (miod@)
arch/mvme88k/mvme88k
~ m188_machdep.c
> Use two software interrupt sources per processor for IPIs, instead of only
> one, so that we can have maskable and unmaskable IPIs. Make the clock ipis
> maskable, and masked at IPL_CLOCK and above. This allows us to get rid
> of the retrig hack in setipl(). (miod@)
~ m188_machdep.c
> Rework ipi handling to delay acking the maskable ipi interrupt, so that it
> gets handled like a real hardware interrupt (which it is supposed to mimic
> anyway). (miod@)
~ m188_machdep.c
> Split handling of unmaskable vs maskable ipi to make the core simpler,
> no functional change. (miod@)
~ m188_machdep.c
> Restart clock before invoking hardclock() and statclock(), otherwise they
> drift in MP kernels. (miod@)
~ m188_machdep.c
> Let ``machine cpu #'' hop to the given cpu. (miod@)
~ locore.S ~ machdep.c
> Merge the ci_alive and ci_primary boolean values of struct cpu_info into
> a single ci_flags bitfield.
> Also, set_cpu_number() will no longer set CIF_PRIMARY on the primary
> processor,
> it's up to the initialization code to do this. (miod@)
~ m188_machdep.c
> No need to check whether we are the primary processor in
> m188_{clock,stat}intr,
> since the corresponding interrupt source is enabled on the primary
> processor
> only. (miod@)
~ machdep.c
> Cache curcpu() value into a local variable when it is used more than once
> in
> a function, so that it does not get reloaded from cr17 every time. (miod@)
~ locore.S ~ machdep.c
> Stop referring the initial kernel stack as the ``interrupt stack''. It's
> been years since it has last been used for that purpose, so name it the
> initialization/startup stack.
> While there, do not store the initialization stack in cpu_info, and have
> secondary_pre_main() return its value so that the bootstrap code does not
> need to fetch it from cpu_info.
> This might be reconsidered when the startup stacks will be freed after they
> are not used anymore, but there are more things to do first. (miod@)
~ m8820x.c
> Add some preprocessor magic to let M187 and M188 kernels compile again.
> (miod@)
~ m188_machdep.c
> The initial ipl on luna/mvme188 like interrupt arbiters is IPL_HIGH, not
> IPL_NONE; fixes a false splassert warning on boot. (miod@)
~ m187_machdep.c ~ m188_machdep.c
~ m197_machdep.c ~ machdep.c
> Rework {get,set,raise}ipl() to minimize psr modification, especially on
> boards such as mvme1[89]7 where spl changes can be atomic. (miod@)
~ m188_machdep.c ~ m197_machdep.c
~ m88110.c ~ m8820x.c
~ machdep.c
> Replace many ``unsigned'' variables with ``unsigned int'', ``u_int'' or
> other
> appropriate types. No functional change. (miod@)
arch/powerpc/conf
~ files.powerpc
> Turn the spl* macros into functions.
> Shaves a few bytes of the kernel.
> No measurable performance loss.
> ok drahn@, kettenis@ (thib@)
arch/powerpc/include
~ intr.h
> Turn the spl* macros into functions.
> Shaves a few bytes of the kernel.
> No measurable performance loss.
> ok drahn@, kettenis@ (thib@)
arch/powerpc/powerpc
+ intr.c
> Turn the spl* macros into functions.
> Shaves a few bytes of the kernel.
> No measurable performance loss.
> ok drahn@, kettenis@ (thib@)
~ intr.c
> prettify the RCS id (less whitespace) (thib@)
arch/sgi/dev
~ wscons_machdep.c
> Give wscons_machdep.c half a spanking. This allows wsdisplay to compile on
> OpenBSD/sgi and prevents it from stealing the console.
> ok miod@ (jsing@)
arch/sgi/localbus
~ macebus.c
> Add spurious interrupt detection to macebus. This allows for the detection
> of interrupt storms and enables the user to "boot poweroff" from ddb,
> instead of pulling the powercord.
> Initial code heavily reworked by miod@
> ok miod@ (jsing@)
~ macebus.h ~ macebus.c
> Expose mace_bus_dma_tag and extend the crimebus extent. This allows the
> existing bus interfaces to be used to access the GBE hardware found in the
> SGI O2.
> ok miod@ (jsing@)
arch/sparc64/dev
~ consinit.c ~ pcons.c
~ sab.c ~ zs.c
> Remove bsd_openprom.h. (kettenis@)
~ schizo.c
> Fix printf format string. (kettenis@)
~ consinit.c ~ pcons.c
~ sab.c ~ zs.c
> Remove eeprom.h. (kettenis@)
~ com_ebus.c
> Attach to "rsc-console". Hopefuly this will give us a proper console on
> the Sun Fire 280R/V480/V880 when the console is directed to the RSC card.
> (kettenis@)
arch/sparc64/include
- bsd_openprom.h
> Remove bsd_openprom.h. (kettenis@)
- eeprom.h
> Remove eeprom.h. (kettenis@)
arch/sparc64/sparc64
~ clock.c ~ locore.s
> Replace next_tick() with simpler C code that I can actually understand.
> (kettenis@)
~ genassym.cf ~ openprom.c
> Remove bsd_openprom.h. (kettenis@)
~ clock.c ~ mem.c
> Remove eeprom.h. (kettenis@)
~ ipifuncs.c
> UltraSPARC-IIIi CPUs are different and choose the BUSY/NACK pair based on
> the
> target CPU ID. Make sure we check the right bits. (kettenis@)
~ machdep.c
> Fix typo in comment. (kettenis@)
~ autoconf.c ~ cpu.c
> Pass name of CPU nodes instead of "cpu" such that we see it for
> unconfigured
> CPUs on UP kernels. (kettenis@)
~ trap.c
> Add missing locking around ktrsyscall() call. (kettenis@)
conf
~ files
> New driver for Ralink RT2860 chipset.
> Attaches as 'ral' as it shares the PCI and CardBus frontends with
> RT2560 and RT2661 though it is actually a separate driver.
> Requires a firmware that can't be redistributed with the base system
> due to license restrictions (exact same license as iwn(4) firmware).
> The 802.11n capabilities not yet supported (except MIMO).
> Great thanks to Sam Fourman Jr for donating hardware.
> ok deraadt@ (damien@)
crypto
~ crypto.c
> do not call crypto_done() on errors, since the drivers already do this.
> otherwise we call the callback twice; fixes panics on crypto errors as
> seen on reboot; ok hshoexer (markus@)
ddb
~ db_command.c ~ db_run.c
~ db_run.h
> Be consistent in db_cmd_loop_done declaration. (miod@)
dev
~ softraid.c
> use arc4random_bytes() instead of multiple arc4random() calls;
> ok deraadt@ dlg@ henric@ mcbride@ (djm@)
~ audio.c
> use tables to determine the best control to use for play.gain, record.gain
> and monitor_gain; this makes play.gain always usable as general purpose
> volume knob even on devices that don't have outputs.master.
> ok jakemsr@, deanna@ (ratchov@)
dev/acpi
~ acpicpu.c
> missing : (deraadt@)
~ acpibat.c
> only print bif info that is complete (deraadt@)
~ acpibat.c
> spacing (deraadt@)
~ acpicpu.c
> spacing (deraadt@)
~ acpi.c
> correct : vs , in attach-time messages (deraadt@)
~ acpiec.c ~ acpiprt.c
~ acpitz.c
> a little less excitement (every printf does not need to end in !)
> (deraadt@)
~ acpiec.c
> no need to print acpi name on attach (deraadt@)
~ acpivar.h
> spacing (deraadt@)
~ acpibat.c ~ acpicpu.c
~ acpidebug.c ~ acpidev.h
~ acpidock.c ~ acpiprt.c
> spacing (deraadt@)
~ dsdt.c
> Fix handling of local AML variables for type conversion:
> Check whether a variable is local before and after dereferencing.
> Improve the check to make sure that the variable is in
> local in current scope.
> Tested by many, thanks a lot. ok marco@ (canacar@)
~ acpi.c
> spacing (deraadt@)
~ dsdt.c ~ dsdt.h
> shrink floppy build by knocking out some unused bits of code; seen by
> canacar (deraadt@)
~ dsdt.c
> don't waste our time telling the aml that we are OpenBSD; it will never
> make a good decision based on that; ok kettenis canacar (deraadt@)
~ acpicpu.c
> Nicer dmesg output.
> From Oleg Safiullin (form@)
> ok deraadt (mikeb@)
~ acpi.c ~ acpimadt.c
~ acpivar.h
> Make acpicpu(4) attach to the existing CPUs only.
> Problem reported by form at . Fix idea by kettenis at .
> Lots of help from deraadt at . Tested by deraadt@, form@ and me.
> ok deraadt marco (mikeb@)
~ acpi.c
> remove the #ifdef ACPI_ENABLE. the EC codepath is either safe enough (and
> will be improved), or it is unsafe because AML assumes it must be there
> ok almost everyone (deraadt@)
~ acpibat.c
> quotes around model name too (deraadt@)
~ acpi.c ~ acpicpu.c
~ acpimadt.c
> fix the bus_space #define nightmare, so that amd64 and i386 are much more
> uniform. as a result shared code like acpi needs less #ifdef's
> ok marco kettenis (deraadt@)
~ acpimadt.c
> the cpu_feature/cpu_id stuff here is bullshit, XXX it so that it gets fixed
> one day soon (deraadt@)
~ acpicpu.c
> Fix dmesg output. From form at .
> ok deraadt (mikeb@)
~ dsdt.c
> Buffers are not necessarily NUL-terminated, so use memcpy instead of
> strlcpy
> to convert a buffer into a string.
> ok canacar@, marco@ (kettenis@)
~ dsdt.c
> Print the type that's wrong. (kettenis@)
~ acpihpet.c
> Fix for PR 5642 & 5643. Report and testing Martijn Rijkeboer
> <martijn at bunix dot org>
> ok deraadt kettenis (marco@)
~ acpimadt.c
> Don't add identity mappings for ISA interrupts for which we have an
> override.
> Tested by many; seems to fix ian@'s evil Compaq, at least with GENERIC.MP.
> (kettenis@)
dev/ata
~ atascsi.c
> accept ATA ioctls so tools like atactl work on disks behind the atascsi
> layer. i intended to write better ways to deal with disks, but i have been
> too slack. shame on me.
> this is less code than the equivilent in wdc/pciide, which amuses me
> greatly. (dlg@)
dev/cardbus
~ if_ral_cardbus.c
> New driver for Ralink RT2860 chipset.
> Attaches as 'ral' as it shares the PCI and CardBus frontends with
> RT2560 and RT2661 though it is actually a separate driver.
> Requires a firmware that can't be redistributed with the base system
> due to license restrictions (exact same license as iwn(4) firmware).
> The 802.11n capabilities not yet supported (except MIMO).
> Great thanks to Sam Fourman Jr for donating hardware.
> ok deraadt@ (damien@)
dev/ic
~ gdt_common.c ~ gdtvar.h
> The interrupt routine doesn't need to explicity invoke splbio/splx.
> But the polling routine needs to wraps its call of the interrupt
> routine with splbio/splx. This ensures scsi_done() is properly
> protected.
> While in the polling routine, fix the timing code so milliseconds are
> not treated as microseconds. (krw@)
+ rt2860.c + rt2860reg.h
+ rt2860var.h
> New driver for Ralink RT2860 chipset.
> Attaches as 'ral' as it shares the PCI and CardBus frontends with
> RT2560 and RT2661 though it is actually a separate driver.
> Requires a firmware that can't be redistributed with the base system
> due to license restrictions (exact same license as iwn(4) firmware).
> The 802.11n capabilities not yet supported (except MIMO).
> Great thanks to Sam Fourman Jr for donating hardware.
> ok deraadt@ (damien@)
~ rt2860.c
> cast pointer to right type (deraadt@)
~ rt2860.c
> clear host to mcu mailbox after loading microcode.
> otherwise, talking to the bbp through the mcu may fail. (damien@)
~ rt2860.c
> sync error messages with man page's DIAGNOSTICS section. (damien@)
~ rt2560.c ~ rt2661.c
> RT2560+RT2661: update the physical address in the RX descriptor after
> bus_dmamap_load() in the case where the same mbuf is reloaded.
> RT2661: remove a 2x prototype, fix an error message. (damien@)
~ rt2860.c ~ rt2860reg.h
~ rt2860var.h
> implement ic_set_key() and ic_delete_key() callbacks. (damien@)
~ bwi.c ~ bwireg.h
~ bwivar.h
> - Add more LED support, like activity blinking (though just supporting
> some devices yet).
> - Calculate RX rate which can be used later in bpf_mtap().
> Diff ported from DragonFlyBSD, tested by some. (mglocker@)
~ hme.c
> remove use of static.
> ok dlg@ (brad@)
~ hme.c
> revert previous commit as requested by kettenis and deraadt. (brad@)
dev/microcode
~ Makefile + tusb3410/Makefile
+ tusb3410/build.c + tusb3410/tusb3410-license
+ tusb3410/tusb3410.h
> firmware (if not store in a seeprom in the device) for the uticom(4)
> this was compiled by someone from the full source code published by TI
> under a surprisingly free license (which is probably not even actually
> enforceable in any way, since they forgot to put the phrase Copyright
> above it... where do they hire their lawyers?? anyways, everyone benefits)
> (deraadt@)
~ zydas/microcode.h
> update ZD1211B firmware.
> this new firmware is supposed to fix a hardware reset problem when the
> system is rebooted with the zyd device attached.
> from FreeBSD (damien@)
dev/mii
~ eephy.c
> eephy_mii_phy_auto() was deleted in r1.38. So delete the declaration too.
> (krw@)
dev/pci
~ eso.c ~ esoreg.h
~ esovar.h
> bring in ~7 years worth of improvements and bug fixes from NetBSD
> user noticible highlights:
> - recording works
> - setting the blockize works correctly
> - added master volume mute
> ok ratchov (jakemsr@)
~ mbg.c
> Remove all code that prints to the console or writes to the log after
> initialization. The behaviour of the Signal sensor is now the same as
> for umbg(4), the sensor status indicates if the clock is synchronized,
> free running or if there is a hardware problem. (mbalmer@)
~ pcidevs.h ~ pcidevs_data.h
> sync (deraadt@)
~ pcidevs
> correct a ricoh label (deraadt@)
~ eap.c ~ eapreg.h
> repair input vs output confusion
> makes 'audioctl play.gain' work correctly
> from NetBSD (jakemsr@)
~ mbg.c
> Don't use utc_off when using the hires timestamp. (mbalmer@)
~ pcidevs.h ~ pcidevs_data.h
> regen (brad@)
~ pcidevs
> - add the Intel G33 PCIe bridge.
> - add the ATI X1600 video card.
> ok krw@ dlg@ (brad@)
~ azalia.c ~ azalia_codec.c
> less obnoxious dmesg
> ok ratchov (deanna@)
~ pcidevs
> - add the ATI Radeon X1950 Pro video adapter.
> - add the Attansic L2 Fast Ethernet chipset.
> - add some new Marvell Ethernet chipsets.
> ok dlg@ (brad@)
~ pcidevs.h ~ pcidevs_data.h
> regen (brad@)
~ if_msk.c
> add the Marvell 88E8042 and 88E8072 PCI ids.
> From the Linux sky2 driver.
> ok dlg@ (brad@)
~ azalia.c
> Unknown codecs don't have a name field, so print what we read from
> pci_findvendor() or the vendor id instead.
> From ratchov@ (deanna@)
~ if_ral_pci.c
> New driver for Ralink RT2860 chipset.
> Attaches as 'ral' as it shares the PCI and CardBus frontends with
> RT2560 and RT2661 though it is actually a separate driver.
> Requires a firmware that can't be redistributed with the base system
> due to license restrictions (exact same license as iwn(4) firmware).
> The 802.11n capabilities not yet supported (except MIMO).
> Great thanks to Sam Fourman Jr for donating hardware.
> ok deraadt@ (damien@)
~ pcidevs.h ~ pcidevs_data.h
> sync (deraadt@)
~ if_ral_pci.c
> match expresscard ral (deraadt@)
~ pcidevs
> ralink N expresscard model (deraadt@)
~ azalia.c
> No need to mention which codec is being used if there's only one. (deanna@)
~ if_bge.c ~ if_bgereg.h
> Rename fiber TBI flag from BGE_TBI to BGE_PHY_FIBER_TBI. No functional
> change.
> ok dlg@ (brad@)
~ if_nfe.c
> Disable jumbo allocator until the low number of buffers case
> is better handled.
> This will likely resolve stalls some people are seeing under high
> load.
> ok damien@ (jsg@)
~ if_iwn.c ~ if_iwnreg.h
> fix reading of EEPROM for some adapters.
> from Benjamin Close @ FreeBSD (damien@)
~ if_ipw.c ~ if_iwi.c
> update the physical address of the RX buffer after bus_dmamap_load()
> in the case where the old buffer is remapped. (damien@)
~ pci.c
> Allow pci_get_capability to decode capabilities for PCI bridges.
> From jmcneill NetBSD
> ok kettenis@ dlg@ (brad@)
~ if_casreg.h
> Add a few Cassini+ registers. (kettenis@)
dev/usb
~ usbdevs ~ uftdi.c
> support little I-O DATA UPS GPS thingy (deraadt@)
~ usbdevs.h ~ usbdevs_data.h
> sync (martin@)
~ usbdevs
> shorten (deraadt@)
~ usbdevs.h ~ usbdevs_data.h
> sync (deraadt@)
~ uhidev.c
> fewer lines of dmesg output spew (matters more on newer sony laptops
> with... 15 lines of usb devices.. (deraadt@)
~ usbdevs
> ti usb serial (deraadt@)
~ usbdevs.h ~ usbdevs_data.h
> sync (deraadt@)
~ umbg.c
> Don't use utc_off, time is always reported in UTC. (mbalmer@)
~ if_cdcef.c
> fix output after deraadts fixes in usb. prints attach and address info on
> one line now.
> ok deraadt@ (dlg@)
~ usbdevs.h ~ usbdevs_data.h
> sync (deraadt@)
~ usbdevs
> CCU-550 EVDO; Alexey Vatchenko (deraadt@)
~ usb_quirks.c
> CCU-550 EVDO; Alexey Vatchenko (deraadt@)
~ usbdevs.h ~ usbdevs_data.h
> sync (deraadt@)
~ usbdevs
> more devices... all the time (deraadt@)
~ files.usb + uticom.c
> driver for TI TUSB3410 usb serial, written by dxi at mail.ru and
> hasso at dragonfly.org, ported but not yet tested.. waiting for hardware
> (deraadt@)
~ usbdevs.h
> sync (damien@)
~ usbdevs
> fix uath entry.
> from FreeBSD (damien@)
~ usbdevs ~ if_zyd.c
> add the Planex GW-US54GXS adapter.
> From the Linux ZyDAS driver.
> ok dlg@ (brad@)
~ usbdevs.h ~ usbdevs_data.h
> regen (brad@)
kern
~ vfs_subr.c
> newline before syncing disks is way prettier (deraadt@)
~ vfs_subr.c
> er, the newline is wrong. dissapointing. (deraadt@)
msdosfs
~ msdosfs_vfsops.c
> read boot sector as 4K block, because of new ipod nano
> from Alexey Vatchenko; ok tom (deraadt@)
net
~ pf.c
> Don't leak pfstatekey upon insert conflict (most often caused via pfsync).
> tested david@, ok dhartmei@ (pascoe@)
~ if_spppsubr.c
> use arc4random_bytes() instead of multiple arc4random() calls;
> ok deraadt@ dlg@ henric@ mcbride@ (djm@)
~ pf.c
> in pf_test_fragment(), ignore protocol-specific criteria for packets of
> different protocols. from Max Laier. ok markus@, henning@ (dhartmei@)
~ if.h
> Sync struct ifaltq to match struct ifqueue.
> I wonder why 64-bit archs have not been bitten by this.
> OK mcbride@, henning@ (mpf@)
~ pf.c
> backout 1.562 since it triggers the problem described in pr 5648
> please close the pr after another solution is found for both problems
> (deraadt@)
net80211
~ ieee80211.c ~ ieee80211_var.h
> Add ieee80211_rate2plcp() and ieee80211_plcp2rate() functions, which
> convert the PLCP header signal field to a rate value and vice versa.
> This implementation has been discussed with Damien and doesn't change
> any existing net80211 structures.
> ok damien@ (mglocker@)
~ ieee80211.c ~ ieee80211_var.h
> make it clear in the code and in the man page that the rate2plcp and
> plcp2rate functions use plcp codes in most-significant-bit-first format
> (R4-R1).
> some drivers like wpi(4) and iwn(4) want plcp codes in lsb-first format
> so they can't use those functions.
> also the IEEE standard uses R1-R4 notation so this can be a bit confusing
> for those refering to it.
> use u_int8_t for plcp code and rate instead of int. (damien@)
netinet
~ ip_carp.c
> use arc4random_bytes() instead of multiple arc4random() calls;
> ok deraadt@ dlg@ henric@ mcbride@ (djm@)
~ tcp_usrreq.c
> in the strange/unnatural/ridiculous situation where a non-blocking
> connect() which has completed and failed.. if connect() is called
> again.. return the so_error instead of EINVAL; from Alexey Vatchenko
> matches what other systems do now
> ok millert henning (deraadt@)
scsi
~ sd.c
> Revert useless textual optimization that resulted in 16 bytes being
> sent to the adapter instead of the 10 bytes the scsi_sychronize_cache
> command actually occupies. This freaked out the ahc on jsing@'s SGI
> and probably others.
> Found, isolated, fix tested, and ok jsing@ (krw@)
~ st.c
> convert code over from sd.c, to let tapes discollect. Lucas Stefanutti
> of pr 5635 confirms this works for him. similar diff authored by krw
> who was unaware i wrote this and mailed it to Lucas... (deraadt@)
sys
~ gpio.h
> pull-down (GPIO_PIN_PULLDOWN) is a valid flags for some GPIO devices,
> e.g. the AMD Geode C5536 GPIO.
> ok grange (mbalmer@)
~ gpio.h
> GPIO pins can be programmed to invert input or output on some devices.
> Introduce new flags, GPIO_PIN_INVIN and GPIO_PIN_INVOUT, for this.
> ok grange (mbalmer@)
== usr.bin =========================================================== 09/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
cdio
~ cdio.1
> make TOC greppable; (jmc@)
chpass
~ edit.c
> Use mtimespec instead of mtime when comparing the timestamp of the edited
> file. OK miod@ (millert@)
cvs
~ rcs.c
> Apply umask on RCS file modes. The umask can be changed in CVSROOT/config
> and should therefore be handled. (tobias@)
~ client.c
> If a file has modifications in it (i.e. cvs update on modified files),
> reapply umask as done with unmodified files. Sticks at GNU cvs behaviour.
> (tobias@)
~ rcs.c ~ rcs.h
> Added CVS keyword "Locker". Although it is a dummy function, it's already
> enough for OpenBSD's src/. (tobias@)
~ entries.c
> CVS/Entries needs at least one line specifying a 'D'irectory. If the
> current directory has subdirectories, there is no need to apply another
> 'D' line. Sticks at GNU cvs behaviour. (tobias@)
~ rcs.c
> Do not (re)expand CVS keywords if it is requested to keep old keywords.
> (tobias@)
~ rcs.c
> Max. 80 chars per line in rcs_kwexp_line. Saved a tab by redoing
> for (...) {
> if (something) {
> ..
> }
> }
> into
> for (...) {
> if (!something)
> continue;
> ..
> }
> All other lines which were still too long have been splitted up.
> No functional change (beside of if-statement). (tobias@)
~ tag.c
> Convert file_rcsrev earlier into a string, else revbuf can be printed
> without initialisation. (tobias@)
du
~ du.1
> move xpg4 notes into STANDARDS; ok otto (jmc@)
make
~ main.c
> read only .depend if !make(depend)
> On the basis that:
> - .depend is a bsd extension anyways, changing its semantics doesn't
> affect posix compliance.
> - it may allow regenerating broken .depend files without needing to
> remove them.
> approved by miod@, millert@, deraadt at . (espie@)
~ engine.c
> .PHONY targets should not look at files. (espie@)
~ arch.c ~ engine.c
~ make.c ~ suff.c
~ symtable.h ~ var.c
~ var.h
> simplify dynamic variable handling a great deal:
> first remove all usage of Varq_Append by building the string directly.
> then replace `common' handling with specialized handling for dynamic
> strings (since they no longer need a buffer). Finally, identify the place
> where the variable value needs to be copied because it's going to be free'd
> or erased soon, and finally, use simple char* pointers.
> Shaves about 80 bytes off every gnode structure, and kills quite a few
> unnecessary malloc()s as well. (espie@)
~ make.c
> simplify, no sense to break just to do return afterwards (espie@)
pcc
+ hppa/code.c + hppa/local.c
+ hppa/local2.c + hppa/macdefs.h
+ hppa/order.c + hppa/table.c
> sync with repo and brink in hppa backend from mickey. afaik, it needs
> some changes in the mi parts that are not yet committed (otto@)
~ mips/TODO ~ mips/code.c
~ mips/local.c ~ mips/local2.c
~ mips/macdefs.h ~ mips/order.c
~ mips/table.c
> sync with repe; commit from gmcgarry@:
> Bring MIPS support fully up-to-date. Includes the following changes:
> Support use of different assemblers.
> Handle big-endian and little-endian code generation.
> Start support for n32/n64
> PIC code generation
> Update to arguments-in-registers infrastructure.
> Cleanup handling of branches.
> Fix register coloring
> Fix structure assignment.
> Add longlong instructions
> Remove unused functions.
> Indentation fixes.
> Tested on NetBSD/pmax (little endian). (otto@)
~ ccom/cgram.y ~ ccom/init.c
~ ccom/main.c ~ ccom/pass1.h
~ ccom/pftn.c ~ ccom/symtabs.c
~ ccom/trees.c ~ cpp/scanner.l
~ i386/code.c ~ i386/local2.c
~ i386/order.c ~ m16c/code.c
~ m16c/order.c ~ mip/manifest.h
~ mip/pass2.h ~ mip/reader.c
~ mip/regs.c ~ nova/code.c
~ nova/order.c ~ pdp10/code.c
~ pdp10/local.c ~ pdp10/local2.c
~ pdp10/order.c ~ pdp10/table.c
~ powerpc/code.c ~ powerpc/order.c
~ vax/code.c ~ vax/order.c
> sync tree with master repo; Nov 16 2007 (otto@)
+ ccom/hppa/Makefile
> hppa backend; does not build yet suince it needs some mi changes (otto@)
~ i386/local.c
> Updates from master repo:
> Remove function arg conversions from clocal(). (ragge@)
~ vax/macdefs.h ~ vax/local2.c
~ vax/local.c ~ mip/reader.c
~ mip/optim2.c ~ mip/common.c
~ i386/macdefs.h ~ ccom/trees.c
> Updates from master repo:
> Replace ugly target macros with function calls (gmcgarry). (ragge@)
~ m16c/order.c ~ mip/match.c
~ mip/regs.c
> strings.h is obsolete; include string.h (otto@)
~ ccom/cgram.y ~ ccom/optim.c
~ ccom/pass1.h ~ ccom/pftn.c
~ ccom/trees.c ~ hppa/local.c
~ i386/code.c ~ i386/local.c
~ mip/manifest.h ~ mip/match.c
~ mips/local.c ~ nova/local.c
~ pdp10/local.c ~ powerpc/local.c
> (Large) update from master repo:
> > Use structure assignment instead of calling memcpy directly in struct
> return.
> > Rewrite enum handling.
> > In C99 enums are treated like INTs so convert them early to int.
> > Move the enum tag handling out of defid(), tags are in their own
> namespace.
> > This will be done with struct/union tags also.
> > Comment out enum types.
> > Remove ENUMTY/MOETY from target code. (ragge@)
pctr
~ pctr.c ~ pctrvar.h
> - Fix error handling code.
> - Change some function names to conform with Core Duo names.
> - Correct hadnling of the functions that need non-zero Unit Mast
> specification.
> - Some other random cleanup. (mikeb@)
~ pctr.c
> spacing (deraadt@)
rpcgen
~ rpcgen.1
> .IP -> .Pp (jmc@)
systat
~ systat.1
> document interactive command `q'; from Mark Lumsden (jmc@)
~ systat.1
> do not try to keep a list of all possible displays in the introduction.
> the page already does this in detail, and this list just goes out of date.
> problem spotted by Mark Lumsden (jmc@)
top
~ top.1
> oops - fix dodgy -width specifier too; (jmc@)
~ top.1
> talk about "user" consistently; from Mark Lumsden (jmc@)
uniq
~ uniq.1 ~ uniq.c
> Mention that -cd and -cu are possible, and that it's an extension to POSIX.
> discussed with jmc and otto
> ok jmc (kili@)
== usr.sbin ========================================================== 10/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
ac
~ ac.8 ~ ac.c
> the usage message should start with "usage:";
> no need for "users", ellipsis allows various users to be specified;
> synchronize synopsis and usage
> ok jmc@ (sobrado@)
bgpd
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
bind
~ lib/dns/rootns.c
> update IP address of L.ROOT-SERVERS.NET; fix PR#5629 (jakob@)
cron
~ crontab.c
> Deal with timespec vs. timeval precision issues. Fixes a problem
> where the "no changes" case was not properly detected due to timespec
> supporting nanosec resolution but timeval only supporting microsec
> resolution. OK deraadt@ (millert@)
dvmrpd
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
eeprom
~ Makefile ~ defs.h
~ main.c ~ ophandlers.c
~ optree.c
> Make this compile on macppc (OpenPROM support only) and build it there.
> ok deraadt@ (kettenis@)
~ Makefile ~ main.c
> We don't have /dev/eeprom on sparc64. (kettenis@)
gpioctl
~ gpioctl.8 ~ gpioctl.c
> pull-down (GPIO_PIN_PULLDOWN) is a valid flags for some GPIO devices,
> e.g. the AMD Geode C5536 GPIO.
> ok grange (mbalmer@)
~ gpioctl.8
> GPIO improvements:
> - make "man -k gpio" work
> - gpioctl(8) should not try to list all gpio devices (it's why we have man
> -k)
> - gpio devices should have "GPIO" in their .Nd, and cross-reference gpio(4)
> and gpioctl(8)
> second set of fixes for gpio(4) itself coming from mbalmer... (jmc@)
~ gpioctl.8 ~ gpioctl.c
> GPIO pins can be programmed to invert input or output on some devices.
> Introduce new flags, GPIO_PIN_INVIN and GPIO_PIN_INVOUT, for this.
> ok grange (mbalmer@)
hostapd
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
hoststated
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
~ hoststated.c
> relays are dynamic now. (pyr@)
~ hoststated.c ~ hoststated.h
~ parse.y
> make protos dynamic too (pyr@)
~ hoststated.c
> add some sanity, that will be useful later on. (pyr@)
~ pfe.c
> do go through relays when none exist. (pyr@)
~ parse.y
> reset global variables everytime we enter parse_config. (pyr@)
~ hoststated.c ~ parse.y
~ pfe.c
> Do not insert proto_default inside the dynamically alloced protocol queue.
> Handle it as a special case in the one place where it actually matters
> instead. (pyr@)
ifstated
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
ntpd
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
ospf6d
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
ospfd
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
pcidump
~ pcidump.c
> Add code to print type 1 (PCI-PCI bridge) and type 2 (CardBus bridge)
> devices. (kettenis@)
~ pcidump.8 ~ pcidump.c
> Add support for dumping PCI config space in hex.
> ok dlg@ (kettenis@)
~ pcidump.8
> simplify macro call; (jmc@)
pkg_add
~ OpenBSD/PkgConfig.pm
> allow whitespace before = sign when reading variables from a .pc file.
> "go ahead" espie@, "makes sense" ckuethe@ (steven@)
pppoe
~ pppoe.8
> fix formatting error as a result of having too many arguments to a macro;
> problem reported by Tamas TEVESZ (jmc@)
~ pppoe.8
> avoid false double space; (jmc@)
ripd
~ parse.y
> Remove space/tab compression function from lgetc() and replace
> it with a simple filter in the yylex() loop.
> The compression in lgetc() didn't happen for quoted strings,
> thus creating a regression when tabs were used in variables.
> Some testing by todd@ and pyr@
> OK deraadt@ (mpf@)
vipw
~ vipw.c
> Deal with timespec vs. timeval precision issues. Fixes a problem
> where the "no changes" case was not properly detected due to timespec
> supporting nanosec resolution but timeval only supporting microsec
> resolution. OK deraadt@ (millert@)
===============================================================================
More information about the owc
mailing list