[odc] Daily src changes for 2007-11-17
ODC
auto at squish.net
Sun Nov 18 07:00:02 GMT 2007
OpenBSD src changes summary for 2007-11-17
==========================================
distrib/sets lib/libarch
sbin/mount share/man
sys/arch/aviion/aviion sys/arch/i386/pci
sys/arch/luna88k/luna88k sys/arch/m88k/include
sys/arch/m88k/m88k sys/arch/macppc/conf
sys/arch/mvme88k/dev sys/arch/mvme88k/include
sys/arch/mvme88k/mvme88k sys/dev
sys/dev/acpi sys/dev/ic
sys/dev/microcode sys/dev/pci
sys/dev/usb sys/net80211
sys/sys usr.bin/chpass
usr.bin/cvs usr.bin/make
usr.bin/pcc usr.bin/rpcgen
usr.bin/systat usr.bin/top
usr.sbin/ac usr.sbin/cron
usr.sbin/gpioctl usr.sbin/pcidump
usr.sbin/pkg_add usr.sbin/pppoe
usr.sbin/vipw
== distrib =========================================================== 01/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
sets
~ 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@)
== lib =============================================================== 02/07 ==
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@)
== sbin ============================================================== 03/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
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@)
== share ============================================================= 04/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ 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@)
== sys =============================================================== 05/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/aviion/aviion
~ 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/pci
~ 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
~ 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
~ 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
~ 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
~ 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/mvme88k/dev
~ vme.c
> Add some preprocessor magic to let M187 and M188 kernels compile again.
> (miod@)
arch/mvme88k/include
~ m88110.h
> Replace many ``unsigned'' variables with ``unsigned int'', ``u_int'' or
> other
> appropriate types. No functional change. (miod@)
arch/mvme88k/mvme88k
~ 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@)
dev
~ 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
~ 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@)
dev/ic
~ 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@)
dev/microcode
~ 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/pci
~ 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@)
dev/usb
~ usbdevs.h
> sync (damien@)
~ usbdevs
> fix uath entry.
> from FreeBSD (damien@)
net80211
~ 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@)
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 =========================================================== 06/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
chpass
~ edit.c
> Use mtimespec instead of mtime when comparing the timestamp of the edited
> file. OK miod@ (millert@)
cvs
~ tag.c
> Convert file_rcsrev earlier into a string, else revbuf can be printed
> without initialisation. (tobias@)
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@)
pcc
~ 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@)
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@)
== usr.sbin ========================================================== 07/07 ==
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@)
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@)
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@)
pcidump
~ pcidump.c
> Add code to print type 1 (PCI-PCI bridge) and type 2 (CardBus bridge)
> devices. (kettenis@)
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
> avoid false double space; (jmc@)
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 odc
mailing list