[odc] Daily src changes for 2007-04-29

ODC auto at squish.net
Mon Apr 30 08:03:22 BST 2007


OpenBSD src changes summary for 2007-04-29
==========================================

etc/etc.landisk/sysctl.conf             sbin/disklabel
share/man                               sys/arch/landisk/include
sys/arch/landisk/landisk                sys/arch/mips64/mips64
sys/arch/sh/include                     sys/arch/sh/sh
sys/dev/pci                             sys/ufs/ffs
sys/uvm                                 usr.sbin/pkg_add

== etc =============================================================== 01/05 ==

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

etc.landisk/sysctl.conf

  ~ etc.landisk/sysctl.conf               

  > machdep.led_blink sysctl for landisk, also move cpu_sysctl() code and
  > related
  > variables from arch/sh/ to arch/landisk/. ok deraadt@ (miod@)

== sbin ============================================================== 02/05 ==

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

disklabel

  ~ editor.c                              

  > fix rounding in the modify case; ok millert@ miod@ (otto@)

== share ============================================================= 03/05 ==

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

man

  ~ man4/pci.4                            ~ man4/viapm.4

  > Match on VT8237A/VT8251/CX700 like the equivalent Linux driver does.
  > ok kettenis@ (jsg@)

  ~ man4/iic.4                            

  > Sync the viapm .Nd here as well.
  > Pointed out by jmc@ (jsg@)

  ~ man4/piixpm.4                         

  > Match on ATI IXP/SB600 as well.
  > Seen in a dmesg from alemao <skanabiz at gmail.com  > ok grange@ (jsg@)

== sys =============================================================== 04/05 ==

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

arch/landisk/include

  ~ cpu.h                                 

  > machdep.led_blink sysctl for landisk, also move cpu_sysctl() code and
  > related
  > variables from arch/sh/ to arch/landisk/. ok deraadt@ (miod@)

arch/landisk/landisk

  ~ landiskreg.h                          ~ machdep.c

  > machdep.led_blink sysctl for landisk, also move cpu_sysctl() code and
  > related
  > variables from arch/sh/ to arch/landisk/. ok deraadt@ (miod@)

  ~ machdep.c                             

  > Blink 8x slower, so that this fits better with Kraftwerk's ``Elektro
  > Kardiogramm'' in the background. (miod@)

arch/mips64/mips64

  ~ clock.c                               

  > The cpu clock frequency we get from ARCBIOS may be off by something in the
  > order of 1%.  So calibrate the CP0 timecounter frequency using the TOD
  > clock
  > if we have one.
  > "looks like good stuff" deraadt@, also tested by jsg@ (kettenis@)

arch/sh/include

  ~ cpu.h                                 

  > machdep.led_blink sysctl for landisk, also move cpu_sysctl() code and
  > related
  > variables from arch/sh/ to arch/landisk/. ok deraadt@ (miod@)

arch/sh/sh

  ~ sh_machdep.c                          

  > machdep.led_blink sysctl for landisk, also move cpu_sysctl() code and
  > related
  > variables from arch/sh/ to arch/landisk/. ok deraadt@ (miod@)

dev/pci

  ~ viapm.c                               

  > Match on VT8237A/VT8251/CX700 like the equivalent Linux driver does.
  > ok kettenis@ (jsg@)

  ~ piixpm.c                              

  > Match on ATI IXP/SB600 as well.
  > Seen in a dmesg from alemao <skanabiz at gmail.com  > ok grange@ (jsg@)

  ~ if_tht.c                              

  > when completing a tx pkt, put it back on the tx free list, not the rx one.
  > found by Nadav Shemer at Tehuti Networks. (dlg@)

  ~ if_tht.c                              

  > when we post a fifo we're giving the dma mem back to the hardware, so we
  > need a presync, not a postsync.
  > another good find by Nadav Shemer at Tehuti Networks (dlg@)

  ~ if_tht.c                              

  > we dont want to completely fill fifos, so leave a gap when we calculate
  > how much of the fifo we want to write firmware to.
  > from Nadav Shemer at Tehuti Networks (dlg@)

  ~ if_tht.c                              

  > clocks and pll register bits (dlg@)

  ~ if_tht.c                              

  > Nadav Shemer of Tehuti Networks is magical.
  > not leaving the gap in the txt fifo when uploading the firmware was the
  > cause of my fifo write bug in tht_start. because i was filling the whole
  > fifo, i was writing the wptr back to its original position. because of
  > this i dont think the firmware thought i had written anything. only the
  > last short chunk would have been noticed, which strikes me as possibly
  > confusing to the chip.
  > this diff removes the delay at the top of tht_fifo_post. one less XXX :)
  > (dlg@)

ufs/ffs

  ~ ffs_alloc.c                           

  > enforce -Wdeclaration-after-statement by hand (deraadt@)

uvm

  ~ uvm_km.c                              

  > Change the loop test in uvm_km_kmemalloc from '<' to '!='. Everything
  > is aligned just fine and in case we allocate the last piece of the
  > address space we don't want wrap-around to cause us to fail.
  > pointed out by and ok miod@ (art@)

== usr.sbin ========================================================== 05/05 ==

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

pkg_add

  ~ OpenBSD/PackingList.pm                ~ pod/OpenBSD::PackingList.pod

  > use an AUTOLOAD to auto-create PackingList visitors when needed.
  > Document visitors, at least partially. (espie@)

  ~ pkg_create                            ~ pkg_info
  ~ pkg_merge                             ~ pkg_mklocatedb
  ~ OpenBSD/Add.pm                        ~ OpenBSD/Delete.pm
  ~ OpenBSD/PackageLocator.pm             ~ OpenBSD/Replace.pm
  ~ OpenBSD/SharedItems.pm                ~ OpenBSD/SharedLibs.pm

  > replace $p->visit('method') calls with $p->method
  > now that it works. (espie@)

  ~ pkg_create                            

  > rename archive into create_package, split its function into
  > archive (when the arc is defined) and comment_create_package (if verbose).
  > (espie@)

  ~ pkg_create                            

  > now we always call create_package with a valid archive. (espie@)

  ~ OpenBSD/PackingList.pm                ~ OpenBSD/PackingElement.pm

  > make packing-lists more regular by including the CONTENTS. Avoid
  > `recursion' by not writing it out. also remove PackingList::write,
  > since it's a simple visitor. (espie@)

  ~ pkg_create                            

  > explain how to archive special files, and turn
  > create_package/comment_create_package into actual visitors for more
  > regularity (espie@)

  ~ pkg_create                            

  > turn avert_duplicates into a full visitor (espie@)

  ~ pkg_create                            

  > rename compute_checksum to create_checksum (espie@)

  ~ pkg_create                            

  > all of them.... (espie@)

  ~ pkg_create                            

  > unify some other consistency checks (espie@)

  ~ pkg_create                            

  > fix recreation of packing-lists: we now have exactly one element in there.
  > (espie@)

  ~ pkg_create                            

  > now that checksum creation uses OO methods, reuse the same code for
  > create_checksum and verify_checksum. (espie@)

  ~ pkg_create                            

  > verify_checksum can be used as a normal visitor (espie@)

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



More information about the odc mailing list