[odc] Daily src changes for 2007-07-10

ODC auto at squish.net
Wed Jul 11 07:00:01 BST 2007


OpenBSD src changes summary for 2007-07-10
==========================================

games/quiz                              sbin/bioctl
share/man                               sys/arch/hppa/hppa
sys/arch/sgi/sgi                        sys/dev
sys/dev/pci                             sys/net
sys/sys                                 

== games ============================================================= 01/04 ==

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

quiz

  ~ datfiles/africa                       ~ datfiles/asia

  > update some capital cities (and spelling); from Daniel Dickman (jmc@)

== sbin ============================================================== 02/04 ==

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

bioctl

  ~ bioctl.8                              ~ bioctl.c

  > implement -q to query a scsi disk for its inquiry data (vendor, model,
  > revision, serial #) and print that.
  > when the default bio ioctl fails with ENOTTY because the given disk is not
  > on a bio-supported raid controller, fall back to -q.
  > use strnvis to sanitize inquiry data so it is safe to use in scripts.
  > ok deraadt (henning@)

== share ============================================================= 03/04 ==

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

man

  ~ man4/wpi.4                            

  > change firmware loading code to adopt the new 2.14.4 firmware layout.
  > while i'm here, fix allocation of the Rx ring descriptors so we don't
  > waste memory.
  > IMPORTANT: you must upgrade your wpi-firmware package to rev. 2.14.4
  > or the driver will stop working. (damien@)

  ~ man4/wpi.4                            

  > fix firmware file name to match reality. (damien@)

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

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

arch/hppa/hppa

  ~ machdep.c                             

  > Don't trust the privilige level in the sigcontext passed to sigreturn(2).
  > ok miod@ (kettenis@)

arch/sgi/sgi

  ~ disksubr.c                            

  > Don't brelse() a buf we don't own in readsgilabel() by mistake. (miod@)

dev

  ~ audio.c                               

  > fix the bug rev 1.56 uncovered and rev 1.62 worked around.
  > data is expanded before it goes in the buffer.  all sizes
  > and offsets used internally are of this expanded data.
  > there's no need to compensate for this fact except when
  > showing information to the user in case their actions
  > depend on how many bytes are in the buffer. (jakemsr@)

dev/pci

  ~ if_wpi.c                              ~ if_wpireg.h

  > change firmware loading code to adopt the new 2.14.4 firmware layout.
  > while i'm here, fix allocation of the Rx ring descriptors so we don't
  > waste memory.
  > IMPORTANT: you must upgrade your wpi-firmware package to rev. 2.14.4
  > or the driver will stop working. (damien@)

  ~ emuxki.c                              

  > emu(4) incorrectly overrides the requested recoding format, setting
  > it to 16-bit slinear_le.
  > this appears to be the result of a mistake in porting the driver
  > from NetBSD.  when this driver was ported, NetBSD had some members
  > in it's 'audio_params' structure that OpenBSD doesn't have.  in
  > particular, NetBSD had 'hw_encoding' and 'hw_precision', which store
  > what the hardware is presenting.  the 'encoding' and 'precision' members
  > store what the audio layer is presenting (both in NetBSD and
  > OpenBSD) and can be different than what the hardware is presenting.
  > the original NetBSD code was setting 'hw_encoding' and 'hw_precision',
  > and in porting was changed to 'encoding' and 'precision'.
  > with this change the hardware is still presenting 16-bit slinear_le;
  > having the variable 'b16' set to '1' is enough to ensure this.
  > however now the audio layer will convert it to the requested format,
  > instead of always outputting 16-bit slinear_le. (jakemsr@)

net

  ~ pf.c                                  

  > adjust pf_find_state_all() so that it works correctly for the new global
  > table/state tail queue design. corrects ftp-proxy errors "server lookup
  > failed (no rdr?)" okay henning@ (kurt@)

sys

  ~ mbuf.h                                

  > Revert previous commit, it probably was intended to come with matching
  > changes to uipc_mbuf.c, but right now all it causes is infinite recursion.
  > (miod@)

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


More information about the odc mailing list