[odc] Daily src changes for 2006-01-04

ODC auto at squish.net
Thu Jan 5 07:00:35 GMT 2006


OpenBSD src changes summary for 2006-01-04
==========================================

distrib/sets                            distrib/special
etc/Makefile                            etc/etc.mac68k/MAKEDEV
etc/etc.mac68k/MAKEDEV.md               etc/etc.mac68k/ttys
etc/mtree/special                       lib/librthread
sbin/kbd                                sbin/wsconsctl
share/man                               sys/arch/alpha/pci
sys/arch/amd64/conf                     sys/arch/i386/conf
sys/arch/i386/i386                      sys/arch/m68k/conf
sys/arch/m68k/m68k                      sys/arch/mac68k/conf
sys/arch/mac68k/dev                     sys/arch/mac68k/include
sys/arch/mac68k/mac68k                  sys/arch/macppc/include
sys/arch/mips64/include                 sys/arch/mips64/mips64
sys/arch/sgi/localbus                   sys/arch/sgi/pci
sys/arch/sgi/sgi                        sys/arch/vax/include
sys/arch/vax/vax                        sys/dev
sys/dev/i2c                             sys/dev/ic
sys/dev/pci                             sys/dev/usb
sys/lib/libkern                         sys/net
sys/net80211                            usr.bin/cut
usr.bin/cvs                             usr.bin/paste
usr.bin/ssh                             usr.sbin/bgpctl
usr.sbin/bgpd                           usr.sbin/wsconscfg

== distrib =========================================================== 01/08 ==

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

sets

  ~ lists/man/mi                          

  > sync (deraadt@)

special

  ~ kbd/Makefile                          

  > mac68k here too now (miod@)

== etc =============================================================== 02/08 ==

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

Makefile

  ~ Makefile                              

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

etc.mac68k/MAKEDEV

  ~ etc.mac68k/MAKEDEV                    

  > Regen (miod@)

etc.mac68k/MAKEDEV.md

  ~ etc.mac68k/MAKEDEV.md                 

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

etc.mac68k/ttys

  ~ etc.mac68k/ttys                       

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

mtree/special

  ~ mtree/special                         

  > + hostapd.conf, ipsec.conf, sudoers (david@)

== lib =============================================================== 03/08 ==

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

librthread

  ~ rthread.c                             ~ rthread_attr.c

  > allow threads to be created in a detached state
  > do not allow a join to a detached thread
  > "it looks good" otto@ (marc@)

  ~ Makefile                              ~ rthread.c
  ~ rthread.h                             + rthread_reaper.c

  > Cleanup struct pthread and stack after thread exits. This version does
  > not use a separate reaper thread. ok tedu@ marc@ (otto@)

== sbin ============================================================== 04/08 ==

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

kbd

  ~ Makefile                              

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

wsconsctl

  ~ Makefile                              

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

== share ============================================================= 05/08 ==

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

man

  ~ man4/Makefile                         ~ man4/iic.4
  ~ man4/pci.4                            + man4/nviic.4

  > manpage for nviic(4), which is a driver supporting the nvidia nforce2/3/4
  > smbus controllers. i think this is the first time ive committed a manpage
  > before miod has reminded me that ive forgotten about the docs. (dlg@)

  ~ man4/pci.4                            

  > nviic in SEE ALSO too. (jmc@)

  ~ man7/mdoc.7                           

  > missing full stop; from ray lai (jmc@)

  ~ man8/man8.mac68k/MAKEDEV.8            

  > Regen (miod@)

== sys =============================================================== 06/08 ==

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

arch/alpha/pci

  ~ tsreg.h                               

  > missing zero
  > from KUDO Takashi (martin@)

arch/amd64/conf

  ~ GENERIC                               

  > driver for the nvidia nforce2/3/4 smbus controller. (dlg@)

arch/i386/conf

  ~ GENERIC                               

  > driver for the nvidia nforce2/3/4 smbus controller. (dlg@)

arch/i386/i386

  ~ esm.c                                 

  > esm_cmd has to wait for two registers to change state for every command
  > that you issue to the controller. the current code works around busy
  > waiting on the first register by retrying it in a new tick of softclock,
  > but the second register was still handled with a busy wait. esm_cmd now
  > returns which register it is up to dealing with so you can resume the
  > command at the right point in a new tick.
  > this drops the cpu usage when doing the updates from roughly 15% time in
  > interrupts down to barely noticable.
  > looks reasonable deraadt@ commitsky! marco@ (dlg@)

arch/m68k/conf

  ~ files.m68k                            

  > Switch to the C version of random() on m68k platforms. It is almost as fast
  > as the assembly version on 0[234]0, but *fifteen* times faster than it on
  > 68060 systems, since it uses a form of muls.l which has to be emulated.
  > And since we use random() for statclock variance, this means we were
  > gratuitously doing an average of 100 emulation traps per second.
  > ok deraadt@ millert@ (miod@)

arch/m68k/m68k

  - random.s                              

  > Switch to the C version of random() on m68k platforms. It is almost as fast
  > as the assembly version on 0[234]0, but *fifteen* times faster than it on
  > 68060 systems, since it uses a form of muls.l which has to be emulated.
  > And since we use random() for statclock variance, this means we were
  > gratuitously doing an average of 100 emulation traps per second.
  > ok deraadt@ millert@ (miod@)

arch/mac68k/conf

  ~ GENERIC                               ~ RAMDISK
  ~ files.mac68k                          

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

arch/mac68k/dev

  ~ esp.c                                 

  > More accurate sc_minsync computation on 16.5MHz ESPs; ok martin@ (miod@)

  - 6x10.h                                - adbsys.c
  - grf.c                                 - ite.c
  - itevar.h                              ~ adb.c
  ~ adb_direct.c                          ~ adbsysasm.s
  ~ adbvar.h                              ~ grf_iv.c
  ~ grf_mv.c                              ~ grf_subr.c
  ~ grfvar.h                              ~ pm_direct.c
  ~ pm_direct.h                           + akbd.c
  + akbdmap.h                             + akbdvar.h
  + ams.c                                 + amsvar.h
  + macfb.c                               + macfbvar.h

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

arch/mac68k/include

  - grfioctl.h                            - iteioctl.h
  ~ adbsys.h                              ~ keyboard.h

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

arch/mac68k/mac68k

  ~ autoconf.c                            ~ conf.c
  ~ locore.s                              ~ machdep.c
  ~ macrom.c                              ~ macrom.h
  ~ pmap_bootstrap.c                      ~ pram.c
  ~ trap.c                                ~ via.c
  + wscons_machdep.c                      

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

arch/macppc/include

  ~ adbsys.h                              

  > Remove unused structures and ioctl declarations. (miod@)

arch/mips64/include

  ~ param.h                               

  > Crank MAXPHYS to 64KB again and remove bogus comment. (miod@)

arch/mips64/mips64

  ~ pmap.c                                

  > Initialize virtual_end to a decent value, so that VM_MAX_KERNEL_ADDRESS is
  > meaningful before pmap_bootstrap() is invoked; gets us valid buffer numbers
  > computation. (miod@)

arch/sgi/localbus

  ~ macebus.c                             

  > Use symbolic constants for the MACE ISA address range in mace_space_unmap()
  > too! (miod@)

  ~ macebus.c                             

  > Do not return zero in bus_space_map() on failure (sigh). (miod@)

  ~ macebus.c                             

  > Stop abusing phys_map to know if it is safe to use malloc in extent
  > routines;
  > instead use a global flag, like some other architectures do. No functional
  > change. (miod@)

arch/sgi/pci

  ~ macepcibridge.c                       

  > Do not return zero in bus_space_map() on failure (sigh). (miod@)

  ~ macepcibridge.c                       

  > Stop abusing phys_map to know if it is safe to use malloc in extent
  > routines;
  > instead use a global flag, like some other architectures do. No functional
  > change. (miod@)

arch/sgi/sgi

  ~ machdep.c                             

  > Better rounding logic when registering memory regions in uvm; we would lose
  > a page per region by mistake. (miod@)

  ~ machdep.c                             

  > Stop abusing phys_map to know if it is safe to use malloc in extent
  > routines;
  > instead use a global flag, like some other architectures do. No functional
  > change. (miod@)

  ~ machdep.c                             

  > Cut buffers pressure down to 35% of kvm max, since (for now) kvm is
  > scaringly scarce on mips64. While there, no need to zero memory in
  > allocsys(). (miod@)

arch/vax/include

  ~ cpu.h                                 

  > add sysctl machdep.console_device support (martin@)

arch/vax/vax

  ~ machdep.c                             

  > add sysctl machdep.console_device support (martin@)

dev

  ~ ipmivar.h                             

  > Make bitfields readable. ok jordan@ (marco@)

  ~ ipmi.c                                

  > Adjust timeout values.  This was determined by using beck's ibm e325.
  > ok jordan (marco@)

dev/i2c

  ~ i2c_scan.c                            

  > split out I2C_DEBUG into I2C_VERBOSE.  VERBOSE is on.  Turn on DEBUG to
  > show more information to i2c developers.  thanks. (deraadt@)

  ~ i2c_scan.c                            

  > detect lm96000 (deraadt@)

dev/ic

  ~ ath.c                                 ~ awi.c
  ~ ral.c                                 

  > Remove redundant calls to bpfdetach.
  > ok brad@ (canacar@)

  ~ ncr53c9x.c                            

  > People doing time comparisons without using the time{r,spec}cmp macros are
  > doomed to do them incorrectly; ok krw@ millert@ tedu@ (miod@)

  ~ ncr53c9x.c                            

  > Return from interrupt handler after chip init(reset).
  > From petrov NetBSD
  > ok miod@ (brad@)

dev/pci

  ~ hifn7751.c                            

  > update comment to match what the code does as of rev 1.149.
  > From Jochen <jochen at penguin-breeder dot org> in PR 4961
  > ok deraadt@ (brad@)

  ~ files.pci                             + nviic.c

  > driver for the nvidia nforce2/3/4 smbus controller. (dlg@)

  ~ pcidevs                               

  > rename 8111 ACPI to 8111 Power (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ pcidevs                               

  > - add 2 SiS PCI to PCI bridges
  > - add some new SiS PCI host bridges
  > - fix names of the 96x entries, they are actually PCI-ISA bridges (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ pcidevs                               

  > better (brad@)

  ~ if_ipw.c                              ~ if_iwi.c

  > Remove redundant calls to bpfdetach.
  > ok brad@ (canacar@)

  ~ pcidevs                               

  > Add via kt880 agp; from Mike Belopuhov <mkb at crypt.org.rugrange@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > sync (grange@)

  ~ alipm.c                               

  > Make sure we unmap io space if we fail to attach.
  > "makes sense" deraadt@ (kettenis@)

dev/usb

  ~ if_atu.c                              ~ if_ral.c
  ~ if_upl.c                              ~ ueagle.c

  > Remove redundant calls to bpfdetach.
  > ok brad@ (canacar@)

lib/libkern

  ~ arch/m68k/Makefile.inc                

  > Switch to the C version of random() on m68k platforms. It is almost as fast
  > as the assembly version on 0[234]0, but *fifteen* times faster than it on
  > 68060 systems, since it uses a form of muls.l which has to be emulated.
  > And since we use random() for statclock variance, this means we were
  > gratuitously doing an average of 100 emulation traps per second.
  > ok deraadt@ millert@ (miod@)

net

  ~ if_bridge.c                           ~ if_faith.c
  ~ if_gif.c                              ~ if_gre.c
  ~ if_loop.c                             ~ if_ppp.c
  ~ if_pppoe.c                            ~ if_sl.c
  ~ if_trunk.c                            ~ if_vlan.c

  > Remove redundant calls to bpfdetach.
  > ok brad@ (canacar@)

  ~ if_trunk.c                            

  > Move bpf_mtap_hdr() after trunk_*_input() so that we hopefully see only one
  > copy of the packet with bpf.
  > From mcbride@
  > some testing by todd@, ok reyk@ (brad@)

net80211

  ~ ieee80211.c                           

  > Remove redundant calls to bpfdetach.
  > ok brad@ (canacar@)

== usr.bin =========================================================== 07/08 ==

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

cut

  ~ cut.1                                 

  > add an EXAMPLES section adapted from freebsd's page,
  > courtesy of ray lai; (jmc@)

cvs

  ~ req.c                                 ~ proto.c
  ~ proto.h                               

  > make cvs_sendresp() return type void; ok joris at .sa@)

paste

  ~ paste.1                               

  > add an EXAMPLES section adapted from freebsd's page,
  > courtesy of ray lai; (jmc@)

ssh

  ~ ssh.1                                 

  > chop out some duplication in the .{r,s}hosts/{h,sh}osts.equiv FILES
  > entries;
  > ok markus (jmc@)

  ~ ssh.1                                 

  > remove .Xr's to rsh(1) and telnet(1): they are hardly needed; (jmc@)

  ~ ssh.1                                 

  > +.Xr ssh-keyscan 1 , (jmc@)

  ~ ssh.1                                 

  > -.Xr gzip 1 , (jmc@)

== usr.sbin ========================================================== 08/08 ==

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

bgpctl

  ~ bgpctl.8                              

  > Document "show rib mem" with jmc@'s help (claudio@)

  ~ bgpctl.c                              

  > Use new BGP attribute counter. (claudio@)

bgpd

  ~ bgpd.h                                ~ rde_attr.c

  > Correctly count the number of allocated BGP attributes. Needs a own
  > counter. (claudio@)

  ~ rde_decide.c                          

  > If the decision process is turned of but a prefix is still active decrease
  > the
  > active prefix counter. (claudio@)

  ~ rde.c                                 

  > Simplify shutdown function and sprinkle some rde_quit checks into functions
  > that don't need to run if the RDE is quitting e.g. the decision process.
  > (claudio@)

  ~ rde_rib.c                             

  > Fix a mem leak of the unusual kind. In some cases a new aspath was added
  > to the RIB without checking if there was a equal path already available.
  > Modify path_update() so that we do not link a new aspath without calling
  > path_lookup() before to check if the aspath is not already in the RIB.
  > Found via bgpctl show rib mem. OK henning (claudio@)

wsconscfg

  ~ Makefile                              

  > Import NetBSD's direct adb code on mac68k, switching to real keyboard and
  > mouse
  > drivers, and to wscons as the console; a few parts borrowed from
  > OpenBSD/macppc
  > as well.
  > Currently only working with displays configured in 1bpp or 8bpp modes; this
  > limitation will be worked on ASAP.
  > Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11
  > changes
  > coming soon. (miod@)

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



More information about the odc mailing list