[owc] Weekly src changes ending 2006-11-26

OWC auto at squish.net
Mon Nov 27 07:14:32 GMT 2006


OpenBSD src changes summary for 2006-11-19 to 2006-11-26 inclusive
==================================================================

bin/ksh                                 bin/md5
distrib/landisk                         distrib/notes
distrib/sets                            games/banner
gnu/egcs                                gnu/usr.bin/gcc
gnu/usr.bin/lynx                        lib/libc
lib/libevent                            lib/libpthread
libexec/ld.so                           libexec/spamlogd
regress/sbin                            sbin/bioctl
sbin/dhclient                           sbin/fdisk
sbin/ipsecctl                           sbin/isakmpd
sbin/pfctl                              sbin/pflogd
sbin/ping6                              sbin/sysctl
share/man                               share/mk
sys/arch/alpha/conf                     sys/arch/amd64/amd64
sys/arch/amd64/conf                     sys/arch/amd64/include
sys/arch/amd64/isa                      sys/arch/amd64/pci
sys/arch/arm/xscale                     sys/arch/i386/conf
sys/arch/i386/i386                      sys/arch/i386/include
sys/arch/i386/pci                       sys/arch/landisk/conf
sys/arch/landisk/include                sys/arch/landisk/landisk
sys/arch/m88k/m88k                      sys/arch/macppc/conf
sys/arch/macppc/dev                     sys/arch/mvme88k/mvme88k
sys/arch/sh/dev                         sys/arch/sh/sh
sys/arch/sparc64/conf                   sys/arch/sparc64/sparc64
sys/arch/zaurus/conf                    sys/arch/zaurus/dev
sys/arch/zaurus/include                 sys/conf
sys/crypto                              sys/dev
sys/dev/acpi                            sys/dev/cardbus
sys/dev/i2c                             sys/dev/ic
sys/dev/pci                             sys/dev/pcmcia
sys/dev/sbus                            sys/dev/usb
sys/kern                                sys/msdosfs
sys/net                                 sys/net80211
sys/netinet                             sys/netinet6
sys/scsi                                sys/sys
usr.bin/dc                              usr.bin/ftp
usr.bin/gzsig                           usr.bin/mg
usr.bin/pmdb                            usr.bin/ssh
usr.sbin/afs                            usr.sbin/bgpctl
usr.sbin/dhcpd                          usr.sbin/dhcrelay
usr.sbin/dvmrpd                         usr.sbin/ftp-proxy
usr.sbin/ifstated                       usr.sbin/ntpd
usr.sbin/ospfd                          usr.sbin/ripd
usr.sbin/tcpdump                        usr.sbin/ypserv

== bin =============================================================== 01/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/bin

ksh

  ~ c_ulimit.c                            

  > Compute user-given ulimit value times ulimit unit as an rlim_t value, not a
  > long value; catches some 32 bit overflows on 32 bit platforms.
  > Found by drahn@, ok otto@ (miod@)

md5

  ~ cksum.1                               ~ md5.1

  > WARNING/BUGS -> CAVEATS; ok millert (jmc@)

== distrib =========================================================== 02/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/distrib

landisk

  ~ ramdisk/install.md                    

  > Don't need the dd/disklabel dance now that fdisk reinit works from
  > miniroot.
  > ok deraadt@ (krw@)

notes

  ~ i386/hardware                         ~ macppc/hardware

  > Add all available watchdog timers to i386/hardware, pwdog to
  > macppc/hardware.
  > reminded by miod. (mbalmer@)

sets

  ~ lists/base/md.landisk                 ~ lists/comp/md.landisk

  > sync (deraadt@)

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armish                  ~ lists/base/md.aviion
  ~ lists/base/md.cats                    ~ 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                         ~ lists/man/mi

  > sync (deraadt@)

  ~ lists/man/mi                          

  > sync (deraadt@)

== games ============================================================= 03/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/games

banner

  ~ banner.c                              

  > Fix an int overflow, reported on bugtraq by Gruzicki Wlodek; ok millert@
  > (otto@)

== gnu =============================================================== 04/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/gnu

egcs

  ~ gcc/config/m88k/m88k.c                ~ gcc/config/m88k/m88k.md

  > Definitions for the fast block move routines were missing registers in
  > their
  > clobbered list. Still not enabled by default, there are still bugs in their
  > usage (perl does not build), but it's much better.
  > No functional change yet. (miod@)

usr.bin/gcc

  ~ Makefile.bsd-wrapper                  ~ gcc/Makefile.in
  ~ gcc/toplev.c                          ~ gcc/config/openbsd.h

  > Improved cross build support for gcc on OpenBSD. allows the cross built
  > compiler to have the same default options as native.
  > The changes to cross build a native compiler is not quite complete.
  > "Get this in" miod@ (drahn@)

usr.bin/lynx

  ~ src/LYEdit.c                          

  > Use appropriate wait(2) macros to test for editor failure.
  > This also fixes an `&&' that was supposed to be an `&'.
  > Reported by Alexey Dobriyan <adobriyan at gmail dot com>.
  > ``I like it'' otto at .ay@)

== lib =============================================================== 05/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/lib

libc

  ~ gen/sysctl.3                          

  > introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).
  > deraadt ok.  manpage nit by jmc. (itojun@)

  ~ stdio/vfprintf.c                      

  > try first mmap() allocation at pagesize, no need to re-mmap at every power
  > of 2 from 16 to pagesize(); ok otto (deraadt@)

libevent

  ~ poll.c                                

  > fail without leaking memory when poll set extension fails.
  > From Niels Provos via the libevent SVN
  > ok deraadt@ (brad@)

  ~ evbuffer.c                            ~ event.3

  > allow both read and write callbacks for bufferevents to be NULL.
  > From Niels Provos via the libevent SVN
  > ok deraadt@ (brad@)

  ~ buffer.c                              

  > fix a potential problem in multiple handling of va_list; use va_copy
  > instead.
  > From Niels Provos via the libevent SVN, by Alejo.
  > ok deraadt@ (brad@)

libpthread

  ~ arch/arm/uthread_machdep.c            

  > Use correct define to detect soft fpu on arm, dont complain on lint so
  > much. (drahn@)

== libexec =========================================================== 06/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/libexec

ld.so

  ~ loader.c                              

  > Fill in load/end address for binary. (drahn@)

spamlogd

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

== regress =========================================================== 07/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/regress

sbin

  ~ ipsecctl/ikedel1.ok                   ~ ipsecctl/ikedel10.ok
  ~ ipsecctl/ikedel11.ok                  ~ ipsecctl/ikedel12.ok
  ~ ipsecctl/ikedel13.ok                  ~ ipsecctl/ikedel14.ok
  ~ ipsecctl/ikedel15.ok                  ~ ipsecctl/ikedel16.ok
  ~ ipsecctl/ikedel17.ok                  ~ ipsecctl/ikedel18.ok
  ~ ipsecctl/ikedel19.ok                  ~ ipsecctl/ikedel2.ok
  ~ ipsecctl/ikedel20.ok                  ~ ipsecctl/ikedel21.ok
  ~ ipsecctl/ikedel22.ok                  ~ ipsecctl/ikedel23.ok
  ~ ipsecctl/ikedel29.ok                  ~ ipsecctl/ikedel3.ok
  ~ ipsecctl/ikedel30.ok                  ~ ipsecctl/ikedel31.ok
  ~ ipsecctl/ikedel32.ok                  ~ ipsecctl/ikedel33.ok
  ~ ipsecctl/ikedel34.ok                  ~ ipsecctl/ikedel35.ok
  ~ ipsecctl/ikedel36.ok                  ~ ipsecctl/ikedel37.ok
  ~ ipsecctl/ikedel38.ok                  ~ ipsecctl/ikedel39.ok
  ~ ipsecctl/ikedel4.ok                   ~ ipsecctl/ikedel40.ok
  ~ ipsecctl/ikedel41.ok                  ~ ipsecctl/ikedel42.ok
  ~ ipsecctl/ikedel43.ok                  ~ ipsecctl/ikedel46.ok
  ~ ipsecctl/ikedel47.ok                  ~ ipsecctl/ikedel5.ok
  ~ ipsecctl/ikedel6.ok                   ~ ipsecctl/ikedel7.ok
  ~ ipsecctl/ikedel8.ok                   ~ ipsecctl/ikedel9.ok

  > sync (markus@)

  ~ ipsecctl/ike43.ok                     

  > fix typo for remote port; from Brian Candler (markus@)

== sbin ============================================================== 08/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sbin

bioctl

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

dhclient

  ~ dhcpd.h                               

  > re-order includes and eliminate duplicates, no binary change; ok henning@
  > (stevesk@)

  ~ dhcpd.h                               

  > remove unused #defines, no binary change; ok henning@ (stevesk@)

  ~ parse.c                               

  > remove spurious ; after bracket, no binary change (stevesk@)

  ~ parse.c                               

  > fix some warning messages and comments in parse_date(); ok henning@
  > (stevesk@)

  ~ parse.c                               

  > sync dhclient and dhcpd parse.c areas where we can.
  > mainly formatting, whitespace; ok henning@ (stevesk@)

fdisk

  ~ disk.c                                

  > Try DIOCGPDINFO before DIOCGDINFO when trying to determine the 'label'
  > geometry for a unit. DIOCGPDINFO avoids using the on-disk label or the
  > cached copy of it and returns a 'spoofed' label that retains the
  > geometry info placed in the label by the driver. Unfortunately
  > DIOCGPDINFO is not universally implemented, though sd and wd do.
  > This is what disklabel(8) does when it wants geometry so this makes
  > fdisk a bit more consistant with disklabel.
  > This fixes 'fdisk -i' and 'reinit' when trying to install from a
  > miniroot on, e.g., landisk. i.e. no need to zero out the disklabel
  > before doing 'fdisk -i'.
  > 'get it in snaps' deraadt@ (krw@)

ipsecctl

  ~ ike.c                                 

  > do not delete sections that might be shared with other connections
  > however, this workaround might leak config entries in isakmpd;
  > ok (for now) hshoexer (markus@)

  ~ ike.c                                 

  > fix typo for remote port; from Brian Candler (markus@)

  ~ ipsec.conf.5                          ~ ike.c
  ~ ipsecctl.h                            ~ parse.y
  ~ pfkdump.c                             

  > add support to tag ipsec traffic belonging to specific IKE-initiated
  > phase 2 traffic. this allows policy-based filtering of encrypted and
  > unencrypted ipsec traffic with pf(4). see ipsec.conf(5) and
  > isakmpd.conf(5) for details and examples.
  > this is work in progress and still needs some testing and feedback,
  > but it is safe to put it in now.
  > ok hshoexer@ (reyk@)

isakmpd

  ~ ike_auth.c                            ~ ipsec.c
  ~ isakmpd.conf.5                        ~ pf_key_v2.c
  ~ sa.c                                  ~ sa.h
  ~ util.c                                ~ util.h

  > add support to tag ipsec traffic belonging to specific IKE-initiated
  > phase 2 traffic. this allows policy-based filtering of encrypted and
  > unencrypted ipsec traffic with pf(4). see ipsec.conf(5) and
  > isakmpd.conf(5) for details and examples.
  > this is work in progress and still needs some testing and feedback,
  > but it is safe to put it in now.
  > ok hshoexer@ (reyk@)

pfctl

  ~ pfctl.8                               ~ pfctl.c

  > -K argument to kill source tracking nodes explicitly, behaves like the
  > -k argument for killing states; From Berk D. Demir <bdd at mindcast.org  > ok dhartmei henning (mcbride@)

pflogd

  ~ pflogd.8                              

  > Default snaplen has been 116 for a while now. (joel@)

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

ping6

  ~ ping6.c                               

  > knf: sizeof x -> sizeof(x) (itojun@)

sysctl

  ~ sysctl.8                              

  > introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).
  > deraadt ok.  manpage nit by jmc. (itojun@)

== share ============================================================= 09/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/share

man

  ~ man4/malo.4                           

  > Add PCI hookup for malo(4).
  > Tested by Stephane Chausson <stephane.chausson at laposte.netith a
  > Netgear WG311v3. (mglocker@)

  ~ man4/bnx.4                            

  > VLAN tagging (brad@)

  ~ man4/bge.4                            

  > mention only VLAN tag insertion. (brad@)

  ~ man4/bnx.4                            

  > tagging -> tag insertion (brad@)

  ~ man4/ti.4                             

  > only mention VLAN tag insertion. (brad@)

  ~ man4/malo.4                           

  > malo(4) doesn't use rssadapt(9).
  > firmware supports rate adaptation. (damien@)

  ~ man4/txp.4                            

  > only HW VLAN tag insertion. (brad@)

  ~ man4/malo.4                           

  > Add the 88W8310 chip which is for cardbus devices.
  > ok claudio@ (mglocker@)

  ~ man9/ratecheck.9                      

  > Fix example code, okay dlg@ (pedro@)

  ~ man4/gem.4                            ~ man4/sbus.4

  > gem at sbusrad@)

  ~ man4/Makefile                         ~ man4/pci.4
  + man4/pwdog.4                          

  > Add support for the Quancom PWDOG1 watchdog timer card.
  > See http://www.quancom.com/ for detailed information on the card.
  > ok deraadt, help and ok uwe (mbalmer@)

  ~ man4/pwdog.4                          

  > tweaks; (jmc@)

  ~ man4/pwdog.4                          

  > sync .Nd with what is in pci.4; (jmc@)

  ~ man4/axe.4                            

  > add the Linksys USB1000 (brad@)

  ~ man7/ports.7                          

  > there's no longer a `special' main packages in MULTI_PACKAGES ports
  > (espie@)

  ~ man5/bsd.port.mk.5                    

  > document new MULTI_PACKAGES (espie@)

  ~ man5/bsd.port.mk.5                    ~ man7/ports.7

  > - kill trailing space
  > - new sentence, new line (jmc@)

  ~ man4/Makefile                         + man4/usbf.4

  > Introduction to Universal Serial Bus function support. (uwe@)

mk

  ~ Makefile                              + bsd.xorg.mk

  > Hooks needed by modular X builds. ok espie@ dim at .atthieu@)

== sys =============================================================== 10/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sys

arch/alpha/conf

  ~ GENERIC                               ~ RAMDISKBIG

  > remove dpt(4) because it sucks.
  > ok deraadt@ (dlg@)

arch/amd64/amd64

  ~ mainbus.c                             ~ mpbios.c

  > sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for
  > multi-ioapic systems.
  > ok kettenis (niklas@)

arch/amd64/conf

  ~ GENERIC                               ~ RAMDISK
  ~ RAMDISK_CD                            

  > remove dpt(4) because it sucks.
  > ok deraadt@ (dlg@)

  ~ GENERIC                               

  > Enable malo(4) for amd64.  Tested with a Netgear WG311v3 PCI.  Further
  > testing needed.
  > ok deraadt@ (mglocker@)

  ~ GENERIC                               

  > leave name simple (deraadt@)

arch/amd64/include

  ~ cpu.h                                 ~ mpconfig.h

  > sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for
  > multi-ioapic systems.
  > ok kettenis (niklas@)

arch/amd64/isa

  ~ isa_machdep.c                         

  > sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for
  > multi-ioapic systems.
  > ok kettenis (niklas@)

arch/amd64/pci

  ~ pci_machdep.c                         

  > sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for
  > multi-ioapic systems.
  > ok kettenis (niklas@)

arch/arm/xscale

  ~ files.pxa2x0                          ~ pxa27x_udc.c
  ~ pxa27x_udcreg.h                       

  > Initial USB device controller (UDC) and USB CDC Ethernet function support
  > for PXA27x/Zaurus, not enabled yet; for dlg and dale :) (uwe@)

arch/i386/conf

  ~ GENERIC                               

  > malo works fine here, enable it.
  > ok deraadt (jsg@)

  ~ GENERIC                               ~ RAMDISKB
  ~ RAMDISK_CD                            

  > remove dpt(4) because it sucks.
  > ok deraadt@ (dlg@)

  ~ GENERIC                               

  > Activate pwdog(4) after successful testing on i386 and macppc.
  > ok deraadt (mbalmer@)

  ~ GENERIC                               

  > leave name simple (deraadt@)

arch/i386/i386

  ~ esm.c                                 

  > use splclock() instead of splsoftclock() when setting the timeout period
  > from the watchdog framework; this is consistent with other watchdogs we
  > have.
  > discussed with and ok dlg (mbalmer@)

  ~ locore.s                              

  > Save misc info (ebx) register from cpuid with eax=1, so we can use it
  > later for some identifications.
  > "slap it in" deraadt (dim@)

arch/i386/include

  ~ cpu.h                                 

  > Save misc info (ebx) register from cpuid with eax=1, so we can use it
  > later for some identifications.
  > "slap it in" deraadt (dim@)

arch/i386/pci

  ~ glxsb.c                               

  > Improve the AES acceleration, by allocating a contiguous DMA-able
  > buffer on attach, and using it for encrypt/decrypt operations.  Still
  > disabled, since the driver cannot currently handle an operation larger
  > than supported by this buffer.  (Interactive ssh does work with this
  > code, however.)
  > "commit, of course" deraadt@ (tom@)

  ~ glxsb.c                               

  > Handle operations larger than will fit in the buffer we allocate,
  > by processing in a loop.  And bump the size of this buffer (32KB
  > taken by the driver shouldn't be a problem).
  > Also reduce the places we hard-code the AES block size of 16.
  > Still disabled (doing more testing), but I want to commit before
  > the aged hard disk I have in the system here dies.
  > (This commit from the Geode system with the AES enabled.) (tom@)

arch/landisk/conf

  ~ GENERIC                               ~ files.landisk

  > Enable support for audio on landisk. (drahn@)

arch/landisk/include

  ~ intr.h                                

  > goodbye splserial, hello splaudio. (drahn@)

  ~ intr.h                                

  > splassert support. (miod@)

  ~ intr.h                                

  > Don't bother using _cpu_intr_raise() for splhigh(), use
  > _cpu_intr_suspend(). (miod@)

  ~ intr.h                                

  > Define IPL_SCHED. (miod@)

arch/landisk/landisk

  ~ intr.c                                

  > splassert support. (miod@)

  ~ intr.c                                

  > Use _cpu_intr_resume() instead of splx() for consistency. No functional
  > change. (miod@)

arch/m88k/m88k

  ~ eh_common.S                           

  > You know you're getting too old to code when you're finding stupid bugs
  > months later. Here, we would service ast based on p != NULL, instead of
  > p->p_md.md_astpending != 0... (miod@)

  ~ trap.c                                

  > In syscall handlers, fix copyin() failure path wrt locking macros. (miod@)

  ~ m88k_machdep.c                        

  > The softintr lock needs to be an __mp_lock, not a __cpu_simple_lock.
  > (miod@)

  ~ process.S                             

  > Be more generous with interrupt disabling in the scheduler. (miod@)

arch/macppc/conf

  ~ GENERIC                               

  > Activate pwdog(4) after successful testing on i386 and macppc.
  > ok deraadt (mbalmer@)

arch/macppc/dev

  ~ mesh.c                                

  > Cleanup some KNF nits, if we can't grab a SCB dont return at splbio.
  > ok sometime ago dlg@ (gwk@)

arch/mvme88k/mvme88k

  ~ eh.S                                  

  > I completely broke pfsr_188_save_double when introducing per-cpuinfo
  > pfsr pointers seven months ago. This would work, but not in all fault
  > cases;
  > now it does the right thing. (miod@)

  ~ m188_machdep.c                        

  > Directly invoke m188_setipl() instead of setipl() in the external interrupt
  > handler. (miod@)

  ~ m188_machdep.c                        

  > Hold the kernel lock when processing low IPL interrupts; one more step
  > towards
  > stable MULTIPROCESSOR kernels. (miod@)

arch/sh/dev

  ~ scif.c                                

  > serial drivers should use spltty, not splserial. (drahn@)

arch/sh/sh

  ~ db_disasm.c                           

  > Use symbol information, when available, to display branch destinations.
  > (miod@)

arch/sparc64/conf

  ~ GENERIC                               ~ RAMDISK

  > add commented out entries for gem at sbusrad@)

  ~ RAMDISK                               

  > enable mpi (dlg@)

arch/sparc64/sparc64

  ~ machdep.c                             

  > In sigreturn, report the correct error if copyin() fails; spotted by
  > Alexey Dobriyan, thanks! (miod@)

arch/zaurus/conf

  ~ GENERIC                               ~ files.zaurus

  > Initial NAND flash support for Zaurus, not enabled yet; prodded by many.
  > (uwe@)

  ~ GENERIC                               

  > Initial USB device controller (UDC) and USB CDC Ethernet function support
  > for PXA27x/Zaurus, not enabled yet; for dlg and dale :) (uwe@)

  ~ GENERIC                               

  > enable new devices (flash, usbf, cdcef) (uwe@)

  ~ GENERIC                               

  > - disable usbf stuff till the missing header is in; unbreak kernel compile.
  > (niallo@)

  ~ GENERIC                               

  > usb client support can be re-enabled (deraadt@)

arch/zaurus/dev

  + zaurus_flash.c                        

  > Initial NAND flash support for Zaurus, not enabled yet; prodded by many.
  > (uwe@)

arch/zaurus/include

  ~ zaurus_reg.h                          

  > Initial USB device controller (UDC) and USB CDC Ethernet function support
  > for PXA27x/Zaurus, not enabled yet; for dlg and dale :) (uwe@)

conf

  ~ files                                 

  > Initial NAND flash support for Zaurus, not enabled yet; prodded by many.
  > (uwe@)

  ~ files                                 

  > Initial USB device controller (UDC) and USB CDC Ethernet function support
  > for PXA27x/Zaurus, not enabled yet; for dlg and dale :) (uwe@)

crypto

  ~ criov.c                               

  > typo; from bret lambert
  > ok pedro (jmc@)

dev

  + flash.c                               + flashvar.h

  > Initial NAND flash support for Zaurus, not enabled yet; prodded by many.
  > (uwe@)

dev/acpi

  ~ acpimadt.c                            

  > Added 2nd pass for interrupt override scanning
  > ok kettenis@ (jordan@)

  ~ acpi.c                                

  > Don't handle acpiev events inside the gpe handler since this causes
  > deadlocks.
  > ok jordan@ (marco@)

  ~ acpiec.c                              

  > Fixed acpiec code for deadlock
  > acpiec events are handled at GPE/thread context, no longer need wakeup
  > cVS: ----------------------------------------------------------------------
  > (jordan@)

  ~ acpimadt.c                            ~ acpiprt.c

  > sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for
  > multi-ioapic systems.
  > ok kettenis (niklas@)

  ~ acpivar.h                             ~ amltypes.h
  ~ dsdt.c                                ~ dsdt.h

  > Add mutex.
  > prodded dlg, ok jordan (marco@)

dev/cardbus

  ~ files.cardbus                         + if_bcw_cardbus.c

  > From Jon Simola <jon at mecha.ca  > Attach to cardbus based bcw cards, and more cleanup. This should help
  > with a few of the card lockup reports I've received. (mglocker@)

  ~ if_bcw_cardbus.c                      

  > style(9): remove variables names from prototypes.
  > ok mglocker@ (damien@)

  ~ if_bcw_cardbus.c                      

  > add the BCM4312 PCI id. (brad@)

dev/i2c

  ~ i2c_scan.c                            

  > Probe for Myson MTP008. (kettenis@)

  ~ i2c_scan.c                            

  > Probe for National Semiconductor LM63. (kettenis@)

  ~ maxim6690.c                           

  > Add support for LM63.
  > tested by niklas@ (kettenis@)

  ~ maxim6690.c                           

  > Fix register number definitions.
  > ok deraadt@ (kettenis@)

dev/ic

  ~ bcw.c                                 ~ bcwreg.h
  ~ bcwvar.h                              

  > From Jon Simola <simola at mecha.com  > Lots of help from Jonathan Gray. bcw_regs has been removed,
  > and DMA/descriptor style changes that look more normal. Tested,
  > no loss in current unfunctionality. (mglocker@)

  ~ malo.c                                

  > Free allocated mbufs at TX done.  While there also reset some TX descriptor
  > values.
  > Fixes "WARNING: mclpool limit reached; increase kern.maxclusters"
  > ok claudio@ (mglocker@)

  ~ if_wi.c                               

  > Fail wi_get_txpower() on USB wi(4), so that we don't CSR_READ on them.
  > ok mickey@ jsg@ (miod@)

  ~ bcw.c                                 ~ bcwvar.h

  > From Jon Simola <jon at mecha.ca  > Attach to cardbus based bcw cards, and more cleanup. This should help
  > with a few of the card lockup reports I've received. (mglocker@)

  ~ rt2560.c                              

  > don't write to BBP before it is ready and fully initialized
  > -> move rt2560_set{tx,rx}antenna() after rt2560_bbp_init().
  > from <sephe at dragonflybsd dot org> (damien@)

  ~ malo.c                                

  > Remove rssadapt(9) bits;  Firmware supports rate adaption.	Also,
  > remove unused arguments in the TX descriptor setup routine.
  > ok claudio@ (mglocker@)

  ~ bcw.c                                 

  > style(9): remove variables names from prototypes.
  > ok mglocker@ (damien@)

  ~ malo.c                                

  > The duration field is calculated by the firmware.  Remove malo_txtime()
  > therefore.
  > ok claudio@ (mglocker@)

  ~ malo.c                                

  > Remove 802.11a stuff.  There is one RF chip (88W8030) which supports 5GHz,
  > but it seems rarely used and we don't know in connecton with which
  > chip.  88W8335/88W8310 uses 88W8000G RF (2.4GHz). (mglocker@)

  ~ re.c                                  ~ rtl81x9reg.h

  > replace a magic number (reserved TX descs?) with macro
  > From tsutsui at NetBSDrad@)

  ~ bcw.c                                 ~ bcwreg.h
  ~ bcwvar.h                              

  > From Jon Simola <jsimola at gmail.com  > Completely rewrote bcw_reset() based on new specs, this cleared up the
  > random attach warning I occasionally had during warm boots.
  > Also change the license, as nearly nothing is left of the original bce
  > code. (mglocker@)

  ~ malo.c                                ~ malo.h

  > Enable automatic rate adapation (done by firmware and hardware).
  > ok claudio@ (mglocker@)

  ~ malo.c                                

  > Enable setting of fixed rates. (mglocker@)

  ~ malo.c                                

  > Small KNF fix. (mglocker@)

  ~ gem.c                                 

  > Fix a copy and pasto.
  > From martin at NetBSDrad@)

  ~ gemreg.h                              

  > additional registers and some comment fixes.
  > From NetBSD (brad@)

  ~ gem.c                                 ~ gemvar.h

  > Split the GEM registers into two halfs and provide a bus_space_handle_t
  > for each. While there, fix a typo in gem_bitwait().
  > From martin at NetBSDrad@)

  ~ gem.c                                 

  > fix use of gem_bitwait(). (brad@)

  ~ malo.c                                

  > If no TX rate has been calculated yet, set rate value to autoselect
  > instead DS1.  Add 'mode' informations to malo_media_status().  Some KNF.
  > (mglocker@)

  ~ malo.c                                

  > Cleanup obsolete rate bits and pass right value to the TX rate descriptor.
  > ok claudio@ (mglocker@)

  ~ mpi.c                                 

  > remove a comment which is now untrue after i fixed it (dlg@)

  ~ gem.c                                 

  > ANSI (brad@)

  ~ pgt.c                                 

  > remove a comment that only applies to freebsd. (damien@)

  ~ mpi.c                                 

  > use scsi_detach_target when a device dissapears, rather than using
  > config_detach and cleaning the midlayer up ourselves. (dlg@)

  ~ rtl81x9reg.h                          

  > correct hardware revision mask. (jsg@)

  ~ bcw.c                                 ~ bcwvar.h
  ~ malo.c                                ~ rt2560.c
  ~ rt2661.c                              

  > do not have each net80211 driver define its own rates structures.  if they
  > use
  > the standard rates, use some defined by net80211 itself.  kernel shrinks a
  > bit
  > ok jsg mglocker (deraadt@)

  ~ malo.c                                

  > It's sizeof(struct ieee80211_frame) not sizeof(struct ieee80211_frame *).
  > Spotted by damien@ (mglocker@)

  ~ acx.c                                 ~ acx111.c
  ~ acx100.c                              ~ atw.c
  ~ rtw.c                                 

  > Make use of ieee80211_std_rateset (jsg@)

  ~ acx100.c                              ~ if_wi.c
  ~ if_wi_hostap.c                        

  > avoid extra inclusions; ok jsg (deraadt@)

  ~ malo.c                                

  > Replace the firmware reset command by a register write which also
  > causes a device reset.  This enables resetting also on amd64,
  > and therefore reinitializing after the 'up' 'down' dance works
  > now there.
  > ok claudio@ (mglocker@)

dev/pci

  ~ files.pci                             + if_malo_pci.c

  > Add PCI hookup for malo(4).
  > Tested by Stephane Chausson <stephane.chausson at laposte.netith a
  > Netgear WG311v3. (mglocker@)

  ~ pcidevs                               

  > add the Broadcom BCM4312 PCI id. (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ if_bnx.c                              

  > In bnx_start, check the used_tx_bd count rather than the descriptors
  > mbuf pointer to see if the transmit ring is full.  The mbuf pointer
  > is set only in the last descriptor of a multi-descriptor packet.
  > By relying on the mbuf pointers of the earlier descriptors, the
  > driver would sometimes overwrite a descriptor belonging to a
  > packet that wasn't completed yet.  Also, tx_chain_prod wasn't
  > updated inside the loop, causing the wrong descriptor to be checked
  > after the first iteration.	The upshot of all this was the loss of
  > some transmitted packets at medium to high packet rates.
  > In bnx_tx_encap, remove a couple of old statements that shuffled
  > around the tx_mbuf_map pointers.  These now correspond 1-to-1 with
  > the transmit descriptors, and they are not supposed to be changed.
  > Correct a couple of inaccurate comments.
  > From jdp at FreeBSDrad@)

  ~ pciide_i31244_reg.h                   

  > some additional registers for the Artisea chipset operating in DPA mode.
  > From rearnsha at NetBSDrad@)

  ~ pciide.c                              

  > Re-enable the Intel i31244 support now that real hardware actually exists.
  > (brad@)

  ~ if_bnx.c                              

  > only try to do HW checksum offload for TCP and UDP. (brad@)

  ~ if_bnx.c                              ~ if_bnxreg.h

  > Due to an incorrect macro, it appears that the driver has always been
  > accidentally truncating off the VLAN tag field in the TX descriptor.  Fix
  > this by splitting up the vlan_tag and flags fields into separate fields,
  > and handling them appropriately.
  > From scottl at FreeBSDrad@)

  ~ if_bge.c                              

  > set the IFCAP_VLAN_HWTAGGING capabilities flag. (brad@)

  ~ if_ti.c                               

  > Re-enable HW VLAN tagging. (brad@)

  ~ if_em.c                               

  > style changes. no op. (brad@)

  ~ if_em.c                               

  > Remove watchdog handler workaround introduced in rev 1.149 which is no
  > longer necessary. (brad@)

  ~ if_bcw_pci.c                          

  > From Jon Simola <simola at mecha.com  > Lots of help from Jonathan Gray. bcw_regs has been removed,
  > and DMA/descriptor style changes that look more normal. Tested,
  > no loss in current unfunctionality. (mglocker@)

  ~ pciide.c                              

  > fix dmesg printing for the artisea chipset. (brad@)

  ~ if_bcw_pci.c                          

  > Some more minor cleanup in the PCI hookup.
  > From Jon Simola <jon at mecha.ca(mglocker@)

  ~ if_bcw_pci.c                          

  > add the BCM4312 PCI id. (brad@)

  ~ if_vge.c                              

  > OpenBSD-ify the HW VLAN tag insertion code. (brad@)

  ~ if_skreg.h                            ~ if_msk.c

  > Set some more power management bits; makes Yukon-2 XL work somewhat.
  > ok brad@ (kettenis@)

  ~ if_msk.c                              

  > Do not attach second port on dual port cards for now.
  > This makes the first port work.
  > ok brad@ (kettenis@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ pcidevs                               

  > add the Broadcom BCM5709 PCI id. (brad@)

  ~ if_gem_pci.c                          

  > Split the GEM registers into two halfs and provide a bus_space_handle_t
  > for each. While there, fix a typo in gem_bitwait().
  > From martin at NetBSDrad@)

  ~ if_msk.c                              

  > remove some sk(4) specific media handling code.
  > ok kettenis@
  > Tested with Yukon-2 EC and Yukon-2 XL. (brad@)

  ~ files.pci                             ~ pcidevs
  ~ pcidevs.h                             ~ pcidevs_data.h
  + pwdog.c                               

  > Add support for the Quancom PWDOG1 watchdog timer card.
  > See http://www.quancom.com/ for detailed information on the card.
  > ok deraadt, help and ok uwe (mbalmer@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > committ these atfter generating them, reminded by deraadt. (mbalmer@)

  ~ if_gem_pci.c                          

  > ANSI (brad@)

  ~ pwdog.c                               

  > The PWDOG1 card can be jumpered to work I/O or memory mapped.  Detect
  > the correct type and use it.
  > Use a macro for the first BAR and remove an unneeded header file.
  > help & ok uwe & jsg. (mbalmer@)

  ~ pwdog.c                               

  > Convert pwdog(4) over to using pci_matchbyid().
  > From brad, thanks. (mbalmer@)

  ~ wdt.c                                 

  > use pci_matchbyid() here, too. (mbalmer@)

  ~ if_bge.c                              ~ if_ipw.c
  ~ if_iwi.c                              ~ if_wpi.c

  > do not have each net80211 driver define its own rates structures.  if they
  > use
  > the standard rates, use some defined by net80211 itself.  kernel shrinks a
  > bit
  > ok jsg mglocker (deraadt@)

  ~ if_bnx.c                              

  > commented out entry for the BCM5709. (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (dim@)

  ~ agpvar.h                              ~ pcidevs

  > Add some Intel 946, 963 and 965 entries. (dim@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen again. :) (dim@)

  ~ if_bge.c                              

  > revert the Jumbo diff that was commited as part of a wireles drivers
  > commit. (brad@)

  ~ if_wi_pci.c                           

  > avoid extra inclusions; ok jsg (deraadt@)

dev/pcmcia

  ~ cfxga.c                               ~ cfxgareg.h

  > Much better register description and values. No functional change yet - but
  > this code does not look like a bingo game chart anymore. (miod@)

  ~ cfxga.c                               ~ cfxgareg.h

  > Start reworking the raster ops code, and be smarter when monitoring the
  > FIFO
  > for cpuu-to-display operation. This is much faster already. (miod@)

  ~ if_wi_pcmcia.c                        

  > avoid extra inclusions; ok jsg (deraadt@)

  ~ cfxga.c                               

  > Rewrite the blitter functions, providing an accelerated putchar in the
  > process; and fix synchronization points, so that the card no longer gets
  > stuck and in need of a reset after being flooded with rop requests. (miod@)

dev/sbus

  ~ files.sbus                            + if_gem_sbus.c

  > initial stab at an SBus front end for gem(4). currently untested.
  > From martin at NetBSDrad@)

dev/usb

  ~ if_ral.c                              ~ if_rum.c

  > restore the workaround for rate==0 bug.
  > i removed it in my last commit because i thought it was gone.
  > looks like it's not the case.
  > pointed out by niallo@ (damien@)

  ~ usbdevs                               

  > add the DLink DWL-G120 product id. (brad@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > regen (brad@)

  ~ usbdevs                               

  > Netgear WG111v2 (jsg@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > regen (jsg@)

  ~ files.usb                             + usbf.c
  + usbf_subr.c                           + usbfvar.h
  + if_cdcef.c                            

  > Initial USB device controller (UDC) and USB CDC Ethernet function support
  > for PXA27x/Zaurus, not enabled yet; for dlg and dale :) (uwe@)

  + usbf.h                                

  > missing file; sorry niall! (uwe@)

  ~ if_ral.c                              ~ if_rum.c
  ~ if_uath.c                             ~ if_zyd.c

  > do not have each net80211 driver define its own rates structures.  if they
  > use
  > the standard rates, use some defined by net80211 itself.  kernel shrinks a
  > bit
  > ok jsg mglocker (deraadt@)

  ~ uhidev.c                              

  > cover up a bug (resulting in noise in dmesg) that we still do not
  > understand, happens on the sun x4100 virtual console; ok dlg (deraadt@)

  ~ if_atu.c                              

  > Make use of ieee80211_std_rateset (jsg@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > sync (deraadt@)

  ~ usbdevs                               

  > learn about RIM products (deraadt@)

  ~ if_wi_usb.c                           

  > avoid extra inclusions; ok jsg (deraadt@)

kern

  ~ vfs_subr.c                            

  > vprint() should be defined if DIAGNOSTIC || DEBUG.	Noticed by (and
  > original diff from) Jake < antipsychic (at) hotmail.com >.	Discussed
  > with Mickey and Miod.
  > ok miod@ pedro@ (tom@)

  ~ kern_malloc.c                         

  > If M_CANFAIL is set and the malloc() size is to big
  > return NULL instead of panic()'ing.
  > ok pedro@, deraadt@ (thib@)

  ~ vfs_syscalls.c                        

  > When copying out struct statfs to userland, we need to zero out the fsid
  > field unless it's root that's asking. This far, this has been done by
  > putting a struct statfs on the stack and modifying it.
  > struct statfs is large. Large things on the stack are bad. Create
  > copyout_statfs() that copies out a struct statfs to userland, does the
  > necessary root check and gives userland what it needs withtout wasting
  > stack space.
  > pedro@, deraadt@ ok. (art@)

msdosfs

  ~ msdosfs_vfsops.c                      

  > Fix malloc() panic in msdosfs_mountfs(), okay thib@ deraadt@
  > Found using fuzz generator written by lmh at info-pull.comedro@)

net

  ~ pfvar.h                               ~ pf_ioctl.c

  > ioctl to explicitly remove source tracking nodes,
  > diff from Berk D. Demir <bdd at mindcast.org  > ok henning dhartmei (mcbride@)

  ~ bridgestp.c                           

  > never call an ioctl without process context! this diffs checks the
  > ifp->if_link_state instead of calling the ifmedia ioctl. this is safe
  > in timeouts without process context and allows to use bridge stp with
  > usb ethernet devices now.
  > figured out and tested by Stuart Henderson, closes pr 5304. (reyk@)

  ~ pfkeyv2.c                             ~ pfkeyv2.h
  ~ pfkeyv2_convert.c                     ~ pfkeyv2_parsemessage.c

  > add support to tag ipsec traffic belonging to specific IKE-initiated
  > phase 2 traffic. this allows policy-based filtering of encrypted and
  > unencrypted ipsec traffic with pf(4). see ipsec.conf(5) and
  > isakmpd.conf(5) for details and examples.
  > this is work in progress and still needs some testing and feedback,
  > but it is safe to put it in now.
  > ok hshoexer@ (reyk@)

  ~ if.c                                  

  > Check the reference count for interface addresses when detaching
  > an interface. Fixes a double free panic.
  > ok claudio@, looks fine henning@ (canacar@)

net80211

  ~ ieee80211.c                           ~ ieee80211_node.h

  > do not have each net80211 driver define its own rates structures.  if they
  > use
  > the standard rates, use some defined by net80211 itself.  kernel shrinks a
  > bit
  > ok jsg mglocker (deraadt@)

  ~ ieee80211_amrr.c                      ~ ieee80211_regdomain.c
  ~ ieee80211_rssadapt.c                  

  > avoid extra inclusions; ok jsg (deraadt@)

netinet

  ~ ipsec_input.c                         ~ ipsec_output.c
  ~ ip_ipsp.h                             ~ ip_ipsp.c

  > add support to tag ipsec traffic belonging to specific IKE-initiated
  > phase 2 traffic. this allows policy-based filtering of encrypted and
  > unencrypted ipsec traffic with pf(4). see ipsec.conf(5) and
  > isakmpd.conf(5) for details and examples.
  > this is work in progress and still needs some testing and feedback,
  > but it is safe to put it in now.
  > ok hshoexer@ (reyk@)

  ~ raw_ip.c                              

  > Remove unneeded branch, no need to check if opts is != NULL just set it to
  > NULL in any case. (claudio@)

netinet6

  ~ in6.h                                 ~ in6_proto.c
  ~ ip6_mroute.c                          ~ ip6_var.h

  > introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).
  > deraadt ok.  manpage nit by jmc. (itojun@)

scsi

  ~ scsiconf.c                            ~ scsiconf.h

  > provide scsi_detach_bus, _target, and _lun to wrap up config_detach for
  > scsi devices. the midlayer keeps some state for each device that is
  > attached which needs to be cleaned up on detach, hence this wrapper. (dlg@)

  ~ scsiconf.h                            

  > no argument names in prototypes pls (dlg@)

sys

  ~ vnode.h                               

  > vprint() should be defined if DIAGNOSTIC || DEBUG.	Noticed by (and
  > original diff from) Jake < antipsychic (at) hotmail.com >.	Discussed
  > with Mickey and Miod.
  > ok miod@ pedro@ (tom@)

== usr.bin =========================================================== 11/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin

dc

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

ftp

  ~ cmds.c                                

  > Mark signal race.
  > ``OK!'' deraadt at .ay@)

gzsig

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

mg

  ~ buffer.c                              ~ def.h
  ~ display.c                             ~ fileio.c
  ~ grep.c                                ~ main.c
  ~ undo.c                                ~ yank.c

  > spacing (deraadt@)

pmdb

  ~ Makefile                              

  > always build man page, that is the way we do things (deraadt@)

  ~ Makefile                              

  > always make a man (deraadt@)

  ~ arch/m88k/m88k.c                      

  > Cope with <machine/frame.h> removal. (miod@)

ssh

  ~ misc.c                                ~ sftp.c

  > Don't access buf[strlen(buf) - 1] for zero-length strings.
  > ``ok by me'' djm at .ay@)

== usr.sbin ========================================================== 12/12 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin

afs

  ~ include/config.h                      ~ src/lwp/process.hpux.S

  > make this work; todd@ deraadt@ ok (mickey@)

  ~ src/lwp/process.hpux.S                

  > also save gp for them dynamic executables; todd@ ok (mickey@)

bgpctl

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

dhcpd

  ~ dhcpd.h                               

  > KNF (no space before '['); ok henning@ (stevesk@)

  ~ dhcpd.h                               

  > re-order includes and eliminate duplicates, no binary change; ok henning@
  > (stevesk@)

  ~ dhcpd.h                               

  > remove unused #defines;
  > remove duplicate #defines;
  > remove DEBUG;
  > remove useless comment;
  > no need to #ifdef protect.
  > no binary change; ok henning@ (stevesk@)

  ~ parse.c                               

  > fix some warning messages and comments in parse_date(); ok henning@
  > (stevesk@)

  ~ dhcpd.c                               ~ dhcpd.h

  > small header cleanup:
  > remove uneeded header
  > use <foo.h> not "foo.h" for system include
  > no binary change; ok henning@ (stevesk@)

  ~ parse.c                               

  > sync dhclient and dhcpd parse.c areas where we can.
  > mainly formatting, whitespace; ok henning@ (stevesk@)

dhcrelay

  ~ dhcpd.h                               

  > remove duplicate #include <unistd.h> (same change as dhclient) (stevesk@)

  ~ dhcrelay.c                            

  > no "\n" needed here; ok henning@ (stevesk@)

  ~ dhcpd.h                               

  > remove unused #defines, no binary change; ok henning@ (stevesk@)

dvmrpd

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

ftp-proxy

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

ifstated

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

ntpd

  ~ ntpd.h                                ~ sensors.c

  > with usig the meadian offset froma number of measurements the recording
  > of the last sensor update time got broken, doesn't show up with gps since
  > it updates often (more often than we read), but naddy ran into it with dcf.
  > record time of last sensor datum seperately. ok naddy balmer (henning@)

ospfd

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

ripd

  ~ Makefile                              

  > repair missing DPADD requests (deraadt@)

tcpdump

  ~ print-stp.c                           

  > add support for displaying Rapid Spanning Tree Protocol frames,
  > as specified in IEEE 802.1d-2004/802.1w.
  > ok mcbride@ (reyk@)

  ~ print-stp.c                           

  > in octal, eight looks like 10... fix the STP_FLAGS_BITS definition
  > introduced with my previous commit. (reyk@)

  ~ print-udp.c                           

  > try udpencap before ike; ok hshoexer (markus@)

ypserv

  ~ revnetgroup/Makefile                  ~ revnetgroup/revnetgroup.c

  > Outsource fgets line reading, newline continuation, and comment
  > handling to fparseln.  Fixes out of bounds array access for strings
  > of length 0 or 1.
  > OK moritz at .ay@)

===============================================================================



More information about the owc mailing list