[odc] Daily src changes for 2008-04-20

ODC auto at squish.net
Mon Apr 21 07:00:01 BST 2008


OpenBSD src changes summary for 2008-04-20
==========================================

share/man                               sys/altq
sys/arch/amd64/stand/libsa              sys/arch/hppa/hppa
sys/arch/hppa64/conf                    sys/arch/hppa64/dev
sys/arch/hppa64/hppa64                  sys/arch/hppa64/include
sys/arch/i386/i386                      sys/arch/i386/stand/libsa
sys/arch/sparc64/include                sys/arch/sparc64/sparc64
sys/dev/cardbus                         sys/dev/i2c
sys/dev/ic                              sys/dev/mii
sys/dev/pci                             sys/dev/usb
sys/lib/libkern                         usr.sbin/rtadvd

== share ============================================================= 01/03 ==

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

man

  ~ man4/txp.4                            

  > overhaul the page. (brad@)

  ~ man4/lge.4                            

  > slight tweaking of the wording to make this consistent with other
  > pages that mention checksum offload. (brad@)

  ~ man4/txp.4                            

  > remove trailing whitespace; (jmc@)

== sys =============================================================== 02/03 ==

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

altq

  ~ altq_cdnr.c                           ~ altq_classq.h
  ~ altq_red.c                            ~ altq_rmclass.c
  ~ altq_var.h                            

  > Do not use random(), which is supposed to be a scheduler-only API (we
  > should rename it one day).	Furthermore, do not do random() % value,
  > but instead solve both problems using arc4random_uniform()
  > Problem spotted by drahn, fix ok'd by djm (deraadt@)

arch/amd64/stand/libsa

  ~ bioscons.c                            

  > rewrite the serial port handling to manipulate the hardware directly
  > rather than relying on calls into the bios to work.
  > this is a result of me getting pissed off with solaris and linux
  > being able to cope the serial bios redirection on dracs, iloms, and
  > ilos. trying to do the same thing with openbsds boot loader caused
  > weird behaviour like machine hangs or no visible output. talking
  > to the serial chips directly is more reliable.
  > tested by many
  > ok sthen@ deraadt@ (dlg@)

arch/hppa/hppa

  ~ autoconf.c                            

  > Print bootpath in the canonical place. (kettenis@)

arch/hppa64/conf

  ~ files.hppa64                          

  > Sync console handling with hppa port:
  > Delay switching to the real serial console until we attach the serial
  > device.
  > The variety of different serial devices is just too big to make a decision
  > up
  > front.  This should make the second serial port on four-digit B/C/J-class
  > workstation work as a serial console too.
  > Last bit isn't true yet; the code to support com @ ssio isn't there yet on
  > hppa64. (kettenis@)

  ~ GENERIC                               ~ files.hppa64

  > crank maxusers (kettenis@)

  ~ files.hppa64                          

  > Catch up with dismantled libkern. (kettenis@)

  ~ GENERIC                               ~ files.hppa64

  > Bring over astro(4) from hppa, to replace pluto(4). (kettenis@)

arch/hppa64/dev

  ~ pdc.c                                 

  > Sync console handling with hppa port:
  > Delay switching to the real serial console until we attach the serial
  > device.
  > The variety of different serial devices is just too big to make a decision
  > up
  > front.  This should make the second serial port on four-digit B/C/J-class
  > workstation work as a serial console too.
  > Last bit isn't true yet; the code to support com @ ssio isn't there yet on
  > hppa64. (kettenis@)

  - pluto.c                               + astro.c

  > Bring over astro(4) from hppa, to replace pluto(4). (kettenis@)

  ~ elroy.c                               ~ elroyreg.h
  ~ elroyvar.h                            

  > Sync with hppa code. (kettenis@)

arch/hppa64/hppa64

  ~ machdep.c                             

  > Sync console handling with hppa port:
  > Delay switching to the real serial console until we attach the serial
  > device.
  > The variety of different serial devices is just too big to make a decision
  > up
  > front.  This should make the second serial port on four-digit B/C/J-class
  > workstation work as a serial console too.
  > Last bit isn't true yet; the code to support com @ ssio isn't there yet on
  > hppa64. (kettenis@)

  ~ conf.c                                

  > Sync console handling with hppa port:
  > Delay switching to the real serial console until we attach the serial
  > device.
  > The variety of different serial devices is just too big to make a decision
  > up
  > front.  This should make the second serial port on four-digit B/C/J-class
  > workstation work as a serial console too.
  > Last bit isn't true yet; the code to support com @ ssio isn't there yet on
  > hppa64. (kettenis@)

  ~ genassym.cf                           ~ locore.S
  ~ vm_machdep.c                          

  > Catch up with cpu_switchto.  Completely untested. (kettenis@)

  ~ mainbus.c                             

  > Add proper bus_space_vaddr(9) impementation. (kettenis@)

  ~ autoconf.c                            

  > Add missing function declaration. (kettenis@)

  ~ machdep.c                             

  > Try to reset the machine through the firmware to reboot. (kettenis@)

arch/hppa64/include

  ~ param.h                               

  > Sync console handling with hppa port:
  > Delay switching to the real serial console until we attach the serial
  > device.
  > The variety of different serial devices is just too big to make a decision
  > up
  > front.  This should make the second serial port on four-digit B/C/J-class
  > workstation work as a serial console too.
  > Last bit isn't true yet; the code to support com @ ssio isn't there yet on
  > hppa64. (kettenis@)

  ~ bus.h                                 

  > Add proper bus_space_vaddr(9) impementation. (kettenis@)

arch/i386/i386

  ~ machdep.c                             

  > Call cnpollc() before cngetc() upon halt.
  > ok miod@ (kettenis@)

arch/i386/stand/libsa

  ~ bioscons.c                            

  > rewrite the serial port handling to manipulate the hardware directly
  > rather than relying on calls into the bios to work.
  > this is a result of me getting pissed off with solaris and linux
  > being able to cope the serial bios redirection on dracs, iloms, and
  > ilos. trying to do the same thing with openbsds boot loader caused
  > weird behaviour like machine hangs or no visible output. talking
  > to the serial chips directly is more reliable.
  > tested by many
  > ok sthen@ deraadt@ (dlg@)

arch/sparc64/include

  ~ pte.h                                 

  > Implement locking of sun4u TSB entries for MULTIPROCESSOR kernels.
  > Make sun4v code use the new TSB_TAG_LOCKED define. (kettenis@)

arch/sparc64/sparc64

  ~ locore.s                              ~ genassym.cf

  > Implement locking of sun4u TSB entries for MULTIPROCESSOR kernels.
  > Make sun4v code use the new TSB_TAG_LOCKED define. (kettenis@)

  ~ locore.s                              ~ machdep.c

  > Remove the random() function from locore.s (which used sparcv7
  > instructions,
  > including mulscc to do multiplications) and switch to the generic random.c
  > code. (kettenis@)

dev/cardbus

  ~ if_re_cardbus.c                       

  > Remove unused flags.
  > ok dlg@ (brad@)

dev/i2c

  ~ i2c_scan.c                            

  > two more i2c probe checks.	adt has split off or been sold to ON
  > semi, so now even more data sheets are available at
  > http://www.onsemi.com/PowerSolutions/parametrics.do?id=2127
  > so if people want to help write drivers... (deraadt@)

dev/ic

  ~ rtl81x9.c                             

  > Don't bother to call rl_rxeof() twice if both the RX Ok and Err bits are
  > set.
  > Based on the same change to re(4) quite some time ago.
  > ok dlg@ (brad@)

  ~ rtl81x9reg.h                          

  > Remove unused flags.
  > ok dlg@ (brad@)

  ~ re.c                                  ~ rtl81x9reg.h

  > - Add some more defines.
  > - Use one of the new defines in the re(4) code to remove a magic number.
  > - Correct a comment.
  > - Fix a typo.
  > Most of this is from NetBSD.
  > ok dlg@ (brad@)

  ~ re.c                                  

  > Remove redundant checks for the 8139C+ chipset, this code can only
  > be reached if using the 8139C+ chipset.
  > ok dlg@ (brad@)

  ~ re.c                                  ~ rtl81x9reg.h

  > - Recognize the 8168C chipset.
  > - Add some more defines for the 8168C chipset.
  > From NetBSD
  > ok dlg@ (brad@)

  ~ re.c                                  ~ rtl81x9reg.h

  > Move the threshold fix from the re(4) code back into the header as
  > it was going to be before the release. No functional change.
  > prodded by kettenis@ ok dlg@ (brad@)

dev/mii

  ~ brgphy.c                              

  > Add a workaround for a CRC bug errata with BCM5701 A0 and B0 chipset
  > revisions.
  > From Linux via FreeBSD.
  > ok dlg@ (brad@)

dev/pci

  ~ if_re_pci.c                           

  > Remove unused flags.
  > ok dlg@ (brad@)

  ~ if_bge.c                              ~ if_bgereg.h

  > Add a workaround for a CRC bug errata with BCM5701 A0 and B0 chipset
  > revisions.
  > From Linux via FreeBSD.
  > ok dlg@ (brad@)

  ~ if_bge.c                              

  > rev 1.35 added special register settings for BCM5704 chipsets when
  > in TBI mode for fiber adapters which causes problems for some systems.
  > Add code to detect when the special settings are necessary which helps
  > with some blade systems.
  > From FreeBSD
  > ok dlg@ (brad@)

  ~ ichiic.c                              

  > be quiet even when errors happen; ok kettenis (deraadt@)

dev/usb

  ~ uvideo.c                              ~ uvideo.h

  > Parse VS_INPUT_HEADER descriptor. (mglocker@)

lib/libkern

  - arch/sparc64/random.S                 

  > Remove the random() function from locore.s (which used sparcv7
  > instructions,
  > including mulscc to do multiplications) and switch to the generic random.c
  > code. (kettenis@)

  + arch/hppa64/Makefile                  + arch/hppa64/bcopy.S
  + arch/hppa64/memcpy.S                  + arch/hppa64/memmove.S
  + arch/hppa64/ovbcopy.S                 + arch/hppa64/spcopy.S

  > Catch up with dismantled libkern. (kettenis@)

== usr.sbin ========================================================== 03/03 ==

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

rtadvd

  ~ advcap.c                              ~ config.c

  > Take failed system calls more serious than LOG_INFO.
  > This is mainly in preparation for more changes to logging.
  > Ok bluhm@, pyr@ (rainer@)

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


More information about the odc mailing list