[odc] Daily src changes for 2007-04-07
ODC
auto at squish.net
Sun Apr 8 08:00:25 BST 2007
OpenBSD src changes summary for 2007-04-07
==========================================
lib/libpthread sbin/pflogd
share/man sys/arch/sparc64/dev
sys/arch/sparc64/include sys/arch/sparc64/sparc64
sys/dev/ic sys/dev/pci
usr.bin/fold usr.bin/fstat
usr.bin/ftp usr.bin/sendbug
usr.sbin/bgpctl usr.sbin/lpr
== lib =============================================================== 01/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libpthread
~ uthread/uthread_fork.c
> Upon fork() set the child's view of the stored file status flags inherited
> from the parent to all non-blocking. This prevents the child from restoring
> the file to be blocking upon close() and causing the parent to deadlock
> when it later attempts to utilize the blocking fd. Corrects the netbeans
> build failure caused by the jdk forkAndExec() function that replaces the
> std fd's before execvp(). okay marc@ (kurt@)
== sbin ============================================================== 02/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
pflogd
~ pflogd.8 ~ pflogd.c
> - use .Bk/.Ek to avoid SYNOPSIS splitting
> - put -p in the correct place
> - sync the -p argument name and tweak its description
> - add -p to usage() (jmc@)
== share ============================================================= 03/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man7/ports.7
> document STARTDIR (espie@)
== sys =============================================================== 04/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/sparc64/dev
~ ebus_mainbus.c
> Remove unused variable. (kettenis@)
arch/sparc64/include
~ autoconf.h
> Replace code that tries to find the boot device by pretending to walk the
> device tree and matching locators in the bootpath string components with
> code that tries to match the PROM node of the devices to bootpath
> components.
> This way we don't need a list of possible boot devices that needs to be
> tweaked whenever we try to support new Sun hardware (or when dlg plugs a
> new fancy storage controller in a sparc64 machine).
> Tested by many. (kettenis@)
arch/sparc64/sparc64
~ autoconf.c
> Replace code that tries to find the boot device by pretending to walk the
> device tree and matching locators in the bootpath string components with
> code that tries to match the PROM node of the devices to bootpath
> components.
> This way we don't need a list of possible boot devices that needs to be
> tweaked whenever we try to support new Sun hardware (or when dlg plugs a
> new fancy storage controller in a sparc64 machine).
> Tested by many. (kettenis@)
~ clock.c
> USECPERSEC is no longer used. (kettenis@)
dev/ic
~ silivar.h
> sizeofa will give us the number of elements in an array. use it when
> iterating over the pci device ids. (dlg@)
~ sili.c ~ silireg.h
> this diff covers two changes, but theyre very tightly tied together.
> implement long sgls by allocating 512 bytes per command, which gives us 7
> scatter gather tables to fill in per command. we can now do proper sized
> io. commands are still polled though, so its very very slow ;)
> since you cant submit more than 128 bytes using direct command submission,
> we needed to implement indirect submission too.
> this almost worked, but i gave the controller to pascoe before i got it
> working. he did the fixes to my dumb dumb mistakes. thanks pascoe. thascoe.
> (dlg@)
~ silireg.h
> Correct offset for global interrupt status register. (pascoe@)
~ sili.c
> Add infrastructure to handle more than one ccb. (pascoe@)
~ sili.c
> Sync the command corresponding to our ccb, not slot 0. (pascoe@)
~ sili.c
> Helper macros to provide the port name in debug messages. (pascoe@)
~ silireg.h
> Add some more device status related register definitions. (pascoe@)
~ sili.c
> Use the rx_count saved in the LRAM command slot entry to determine the
> xfer residual. (pascoe@)
~ sili.c
> Permit PACKET command issue. (pascoe@)
~ sili.c
> Fill out control information for ATAPI commands. (pascoe@)
~ sili.c
> Split command completion out into a separate function, working towards
> IRQ based completion. (pascoe@)
~ sili.c
> Rework command issue/completion flow to be more like AHCI's and switch to
> using interrupts to detect command completion.
> Report on command timeouts (but no recovery yet). (pascoe@)
~ sili.c
> Add transfer failure detection and recovery from non-fatal errors.
> (pascoe@)
~ sili.c
> Whitespace cleanup. No code change. (pascoe@)
~ sili.c
> Always assume write commands had zero residual; the chip only counts
> received bytes. (pascoe@)
dev/pci
~ sili_pci.c
> sizeofa will give us the number of elements in an array. use it when
> iterating over the pci device ids. (dlg@)
~ if_bce.c
> Use pci_matchbyid() rather than handrolled equivalent. From Brad.
> tested & ok todd@ (krw@)
~ if_bce.c
> Nuke NetBSD defines APRINTF_NORMAL/_ERROR and just use the printf they were
> defined to. No functional change.
> From Brad. (krw@)
~ if_bce.c
> ANSI-fy. No functional change.
> From Brad. (krw@)
== usr.bin =========================================================== 05/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
fold
~ fold.c
> use strtonum, from jason dixon (tedu@)
fstat
~ fstat.c
> use strtonum, from jason dixon (tedu@)
ftp
~ main.c
> use strtonum, from jason dixon (tedu@)
sendbug
~ sendbug.c
> Use __progname and warn instead of fprintf where appropriate. (ray@)
~ sendbug.c
> De-lint. (ray@)
~ sendbug.c
> Sprinkle const poison, remove unneeded variable. (ray@)
== usr.sbin ========================================================== 06/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
bgpctl
~ bgpctl.8
> Document the terse format outputs. Additional input by jmc@ (claudio@)
~ bgpctl.8
> tweak previous; ok claudio (jmc@)
lpr
~ common_source/displayq.c ~ common_source/rmjob.c
> trailing "\n" not needed in fatal(); ok millert@ (stevesk@)
~ lpc/cmds.c ~ lpd/printjob.c
~ lpr/lpr.c
> KNF, spaces; ok millert@ (stevesk@)
===============================================================================
More information about the odc
mailing list