OpenBSD cvs log

created 2019-12-16T18:07:32Z
begin 2019-12-05T00:00:00Z
end 2019-12-06T00:00:00Z
path src/sys
commits 11

date 2019-12-05T10:41:08Z
author mpi
files src/sys/miscfs/deadfs/dead_vnops.c log diff annotate
src/sys/miscfs/fuse/fusebuf.c log diff annotate
message Convert infinite sleeps to tsleep_nsec(9).

ok jca@

date 2019-12-05T10:41:57Z
author mpi
files src/sys/nfs/nfs_aiod.c log diff annotate
src/sys/nfs/nfs_kq.c log diff annotate
src/sys/nfs/nfs_socket.c log diff annotate
src/sys/nfs/nfs_srvcache.c log diff annotate
src/sys/nfs/nfs_syscalls.c log diff annotate
message Convert infinite sleeps to tsleep_nsec(9).

ok jca@

date 2019-12-05T12:46:54Z
author mpi
files src/sys/arch/macppc/include/pci_machdep.h log diff annotate
src/sys/arch/sparc64/dev/auxio.c log diff annotate
src/sys/arch/sparc64/dev/auxioreg.h log diff annotate
src/sys/arch/sparc64/dev/auxiovar.h log diff annotate
src/sys/arch/sparc64/dev/com_ebus.c log diff annotate
src/sys/arch/sparc64/dev/ebus.c log diff annotate
src/sys/arch/sparc64/dev/ebusreg.h log diff annotate
src/sys/arch/sparc64/dev/ebusvar.h log diff annotate
src/sys/arch/sparc64/dev/lpt_ebus.c log diff annotate
src/sys/arch/sparc64/dev/pci_machdep.c log diff annotate
src/sys/arch/sparc64/dev/psychovar.h log diff annotate
src/sys/arch/sparc64/include/pci_machdep.h log diff annotate
src/sys/dev/pci/if_hme_pci.c log diff annotate
src/sys/uvm/uvm_swap.c log diff annotate
src/sys/uvm/uvm_swap.h log diff annotate
message Remove clause #3 from mrg@NetBSD license.

In May 29 2008, Matthew R. Green removed it in NetBSD:
github.com/IIJ-NetBSD/netbsd-src/commit/7ea20401d535da9996394136ef

ok deraadt@

date 2019-12-05T15:19:33Z
author mpi
files src/sys/conf/files log diff annotate
src/sys/uvm/uvm_meter.c log diff annotate
message Move uvmexp_print() to a better place.

ok mlarkin@

date 2019-12-05T15:19:34Z
author mpi
files src/sys/uvm/Attic/uvm_stat.c log diff annotate
message Move uvmexp_print() to a better place.

ok mlarkin@

date 2019-12-05T16:16:01Z
author krw
files src/sys/scsi/scsi_base.c log diff annotate
src/sys/scsi/scsiconf.h log diff annotate
message Move prototypes for scsi_mode_sense(), scsi_mode_sense_big(),
scsi_mode_sense_page() and scsi_mode_sense_big_page() into
scsi_base.c.

They are just internal helper functions for scsi_do_mode_sense().

date 2019-12-05T16:33:53Z
author krw
files src/sys/scsi/scsi_base.c log diff annotate
message No need for 'byte2' parameter to scsi_mode_sense[_big]() since we
always pass 0. i.e. never disable block descriptors, never accept
long LBA values.

date 2019-12-05T18:42:13Z
author krw
files src/sys/scsi/cd.c log diff annotate
message Shrink scsi_mode_do_sense() parameter list by eliminating the three
pointers returning possible block descriptor values for block size,
block count and density. Most calls were passing "NULL, NULL, NULL"
since they did not care.

Call scsi_parse_blkdesc() directly in those few cases where one or
more of the values is of interest.

No intentional functional change.

date 2019-12-05T18:42:14Z
author krw
files src/sys/scsi/ch.c log diff annotate
src/sys/scsi/scsi_base.c log diff annotate
src/sys/scsi/scsiconf.h log diff annotate
src/sys/scsi/sd.c log diff annotate
src/sys/scsi/st.c log diff annotate
message Shrink scsi_mode_do_sense() parameter list by eliminating the three
pointers returning possible block descriptor values for block size,
block count and density. Most calls were passing "NULL, NULL, NULL"
since they did not care.

Call scsi_parse_blkdesc() directly in those few cases where one or
more of the values is of interest.

No intentional functional change.

date 2019-12-05T19:53:05Z
author krw
files src/sys/scsi/scsi_base.c log diff annotate
message Don't discard error from mode sense (6) if mode sense (10) is
not attempted.

date 2019-12-05T21:32:13Z
author krw
files src/sys/scsi/uk.c log diff annotate
message Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,
Comment fixes.