created | 2021-09-13T16:32:55Z |
---|---|
begin | 2021-09-10T00:00:00Z |
end | 2021-09-11T00:00:00Z |
path | src/sys |
commits | 4 |
date | 2021-09-10T05:46:01Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/usb/uhidev.c | log | diff | annotate |
message |
Remove unused repsizes array. ok jcs@ as part of a larger diff |
date | 2021-09-10T05:47:38Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/usb/ucc.c | log | diff | annotate |
src/sys/dev/usb/ugold.c | log | diff | annotate | |
src/sys/dev/usb/uhid.c | log | diff | annotate | |
src/sys/dev/usb/uhidev.c | log | diff | annotate | |
src/sys/dev/usb/uhidev.h | log | diff | annotate | |
src/sys/dev/usb/ukbd.c | log | diff | annotate | |
src/sys/dev/usb/ums.c | log | diff | annotate | |
src/sys/dev/usb/umstc.c | log | diff | annotate | |
src/sys/dev/usb/uwacom.c | log | diff | annotate | |
message |
Instead of letting uhidev drivers get the report sizes, do it once in uhidev and pass the same sizes as part of the attach arguments. Makes the uhidev drivers a bit less repetitive. It might look tempting to let uhidev assign the sizes after a driver has attached, removing the need to repeat this logic in each driver. This does however not work since the input size must be known while calling uhidev_open() in order to open the interrupt pipe; and uhidev_open() is called from several attach routines. Note that this change only works and applies to when attaching to a single report ID. ok jcs@ |
date | 2021-09-10T05:48:43Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/usb/uhidev.h | log | diff | annotate |
message | Minor KNF nit, align struct field. |
date | 2021-09-10T16:38:35Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/pci/if_iwx.c | log | diff | annotate |
message |
Let iwx(4) resume directly in DVACT_WAKEUP instead of running the init task. Suggested by deraadt@ during discussion at k2k21. With additional input from mlarkin. And deraadt spotted some pointless splnet() calls which this patch is removing. Resume from S3 tested by me on an x250 thinkpad with a compatible ax200 wifi card provided by mlarkin. Hibernate tested by deraadt. Sync comments about the PCI retry timeout workaround with Linux while here. ok mlarkin@ |