created | 2020-01-31T14:42:23Z |
---|---|
begin | 2020-01-23T00:00:00Z |
end | 2020-01-24T00:00:00Z |
path | src/sys |
commits | 25 |
date | 2020-01-23T00:30:59Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/dev/ic/ciss.c | log | diff | annotate |
message |
ciss(4): ciss_cmd: split polling loop into two loops There are really two loops here. One for SCSI_NOSLEEP and delay(9), the other for tsleep(9). The paths share a loop in the code but they shouldn't. They have different termination conditions and share little code. If we pull the conditional clause out of the for-loop and then give each path its own polling loop the logic should be easier to follow. ok krw@ |
date | 2020-01-23T01:02:34Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/kern/kern_pledge.c | log | diff | annotate |
message |
add /etc/protocols to the magic unveil whitelist that the dns pledge has "i get it" deraadt@ |
date | 2020-01-23T01:22:59Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_pppx.c | log | diff | annotate |
message |
fix some ioctl/kq weirdness in the pppx(4) side of things. - pppx does not support FIOASYNC, so don't pretend it's fine. - have FIONREAD return the number of bytes that will be read. - have kevent data return the number of bytes to read instead of the number of packets on the svcq to read. |
date | 2020-01-23T01:43:17Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/dev/ic/ciss.c | log | diff | annotate |
message |
ciss(4): tsleep(9) -> tsleep_nsec(9) "i" is a count of milliseconds. We convert it to a starting interval "ts" and determine our absolute timeout "end". Then we loop through until the poll is successful or "end" elapses. This could be simplified with an absolute timeout interface for tsleep(9) but alas, we don't have one yet. ok krw@ |
date | 2020-01-23T02:40:21Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/arch/alpha/alpha/conf.c | log | diff | annotate |
src/sys/arch/amd64/amd64/conf.c | log | diff | annotate | |
src/sys/arch/arm/arm/conf.c | log | diff | annotate | |
src/sys/arch/arm64/arm64/conf.c | log | diff | annotate | |
src/sys/arch/hppa/hppa/conf.c | log | diff | annotate | |
src/sys/arch/i386/i386/conf.c | log | diff | annotate | |
src/sys/arch/landisk/landisk/conf.c | log | diff | annotate | |
src/sys/arch/loongson/loongson/conf.c | log | diff | annotate | |
src/sys/arch/luna88k/luna88k/conf.c | log | diff | annotate | |
src/sys/arch/macppc/macppc/conf.c | log | diff | annotate | |
src/sys/arch/octeon/octeon/conf.c | log | diff | annotate | |
src/sys/arch/sgi/sgi/conf.c | log | diff | annotate | |
message |
wire up pppac(4) to some majors on each arch. i was lazy and just put them at the end of the existing set. fyi, i think major 51 is free on all archs if anyone is looking for another one. ok claudio@ |
date | 2020-01-23T02:40:22Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/arch/sparc64/sparc64/conf.c | log | diff | annotate |
message |
wire up pppac(4) to some majors on each arch. i was lazy and just put them at the end of the existing set. fyi, i think major 51 is free on all archs if anyone is looking for another one. ok claudio@ |
date | 2020-01-23T02:57:10Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/ofw/ofw_misc.c | log | diff | annotate |
src/sys/dev/ofw/ofw_misc.h | log | diff | annotate | |
message |
Add an interface to read an nvmem "cell". ok patrick@ |
date | 2020-01-23T03:00:00Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/sxitemp.c | log | diff | annotate |
message |
Use information from nvmem (provided by sxisid(4)) to calibrate the temperature sensors. ok patrick@ |
date | 2020-01-23T03:10:18Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
message |
remove PIPEX from tun(4) now that pppac(4) should be used instead. ok claudio@ |
date | 2020-01-23T03:27:56Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/sxisid.c | log | diff | annotate |
message |
Hook sxisid(4) up to the nvmem "framework". ok patrick@ |
date | 2020-01-23T04:33:54Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs | log | diff | annotate |
message | add ids for coffee lake and comet lake graphics with known marketing names |
date | 2020-01-23T04:34:36Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs.h | log | diff | annotate |
src/sys/dev/pci/pcidevs_data.h | log | diff | annotate | |
message | regen |
date | 2020-01-23T05:46:44Z | |||
---|---|---|---|---|
author | tedu | |||
files | src/sys/dev/ata/wd.c | log | diff | annotate |
message |
we've been using LBA48 for < 137GB drives for 17 years, so perhaps we can remove the XXX now. |
date | 2020-01-23T07:52:59Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/arch/luna88k/dev/spc.c | log | diff | annotate |
src/sys/arch/macppc/dev/Attic/mesh.c | log | diff | annotate | |
src/sys/arch/sgi/hpc/wdsc.c | log | diff | annotate | |
src/sys/dev/vscsi.c | log | diff | annotate | |
src/sys/dev/ata/atascsi.c | log | diff | annotate | |
src/sys/dev/atapiscsi/atapiscsi.c | log | diff | annotate | |
src/sys/dev/ic/aac.c | log | diff | annotate | |
src/sys/dev/ic/adv.c | log | diff | annotate | |
src/sys/dev/ic/aic6250.c | log | diff | annotate | |
src/sys/dev/ic/aic6360.c | log | diff | annotate | |
message |
Use a consistant idiom/format when declaring scsi_adapter structures in drivers. Terse one liners, NULLs instead of 0's, explicitly specify all members, etc. Nuke #ifdef notyet blocks related to the scsi_adapter in aic. No intentional functional change. ok tedu@ |
date | 2020-01-23T07:53:00Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/dev/ic/aic79xx_openbsd.c | log | diff | annotate |
src/sys/dev/ic/aic7xxx_openbsd.c | log | diff | annotate | |
src/sys/dev/ic/ami.c | log | diff | annotate | |
src/sys/dev/ic/cac.c | log | diff | annotate | |
src/sys/dev/ic/gdt_common.c | log | diff | annotate | |
src/sys/dev/ic/iha.c | log | diff | annotate | |
src/sys/dev/ic/mfi.c | log | diff | annotate | |
src/sys/dev/ic/mpi.c | log | diff | annotate | |
src/sys/dev/ic/ncr53c9x.c | log | diff | annotate | |
src/sys/dev/ic/nvme.c | log | diff | annotate | |
src/sys/dev/ic/oosiop.c | log | diff | annotate | |
src/sys/dev/ic/osiop.c | log | diff | annotate | |
src/sys/dev/ic/qla.c | log | diff | annotate | |
src/sys/dev/ic/qlw.c | log | diff | annotate | |
src/sys/dev/ic/siop.c | log | diff | annotate | |
src/sys/dev/ic/trm.c | log | diff | annotate | |
src/sys/dev/ic/twe.c | log | diff | annotate | |
src/sys/dev/ic/uha.c | log | diff | annotate | |
src/sys/dev/isa/wds.c | log | diff | annotate | |
src/sys/dev/pci/ips.c | log | diff | annotate | |
src/sys/dev/pci/mfii.c | log | diff | annotate | |
src/sys/dev/pci/mpii.c | log | diff | annotate | |
src/sys/dev/pci/qle.c | log | diff | annotate | |
src/sys/dev/pci/vmwpvs.c | log | diff | annotate | |
src/sys/dev/pv/vioscsi.c | log | diff | annotate | |
src/sys/dev/usb/umass_scsi.c | log | diff | annotate | |
src/sys/scsi/mpath.c | log | diff | annotate | |
message |
Use a consistant idiom/format when declaring scsi_adapter structures in drivers. Terse one liners, NULLs instead of 0's, explicitly specify all members, etc. Nuke #ifdef notyet blocks related to the scsi_adapter in aic. No intentional functional change. ok tedu@ |
date | 2020-01-23T10:01:41Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/axppmic.c | log | diff | annotate |
message |
Fix the mask that we applied when setting the voltage. ok jsg@, patrick@ |
date | 2020-01-23T14:38:59Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/subr_pool.c | log | diff | annotate |
message |
pool(9): pl_sleep(): drop unused timeout argument All sleeps have been indefinite since introduction of this interface ~5 years ago, so remove the timeout argument and make indefinite sleeps implicit. While here: *sleep(9) -> *sleep_nsec(9) "i don't think we're going to use timeouts [here]" tedu@, ok mpi@ |
date | 2020-01-23T22:27:18Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
message | don't prototype the cdev entrypoints, sys/conf.h already does it. |
date | 2020-01-23T22:32:07Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
message | mild whitespace massaging. no functional change. |
date | 2020-01-23T23:10:04Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/sxitemp.c | log | diff | annotate |
src/sys/dev/ofw/ofw_thermal.c | log | diff | annotate | |
src/sys/dev/ofw/ofw_thermal.h | log | diff | annotate | |
message |
Make thermal framework support in sxitemp(4) interrupt driven such that it works with future Linux device trees. ok patrick@ |
date | 2020-01-23T23:20:54Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
message |
unify the tun and tap output and read behaviour. let tap use ether_output directly, and then cut back tun_output so it does the same things that ether_output does. specifically, this means tun_output now only prepends the packet with the "link" header, and no longer runs BPF for outgoing packets. running BPF for tun packets in output used to be needed because pipex used to get a chance to steal the packet at this point, but you would still want to see the packet in tcpdump output. now BPF is handled in tun_dev_read for both tun and tap. |
date | 2020-01-23T23:22:47Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
message |
remove IFCAP_VLAN_MTU from tap(4). it's a lie. there's no magical extra space for tap to carry a VLAN tag up to userland, you need to put it in the packet, and it takes up space. |
date | 2020-01-23T23:30:41Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
message |
provide a custom if_enqueue handler. tun and tap now queue a packet on output (for userland to read) on the if send queue, and then directly call tun_wakeup to tell userland about it. this bypasses calling the ifq serialiser machinery which then calls tun_start, which then calls tun_wakeup. |
date | 2020-01-23T23:36:18Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
message |
don't need to manage TUN_NBIO ourselves, we get IO_NDELAY for free. as long as we don't error when open/ioctl/read/write have IO_NDELAY set, the fd (vfs?) layer seems to keep track of it fine for us. |
date | 2020-01-23T23:43:49Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
message | simplify the uiomove loop in tun_dev_read. |