CVS: cvs.openbsd.org: src

2022-04-02 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2022/04/02 16:45:18

Modified files:
sys/kern   : tty_nmea.c 

Log message:
Update an old comment

The old comment only mentioned that tty_nmea was used for time, but
subsequently position data was added to this line discipline.



CVS: cvs.openbsd.org: src

2022-04-02 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2022/04/02 16:43:01

Modified files:
sys/kern   : tty_nmea.c 

Log message:
whitespace fix



CVS: cvs.openbsd.org: src

2022-04-02 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2022/04/02 11:25:10

Modified files:
sys/scsi   : scsiconf.c 

Log message:
Add a paranoia/future proofing check for link->pool == NULL to
the SDEV_OWN_IOPL flag check.

Ambiguous/inconsistant code pointed out by Coverity #1515557.



CVS: cvs.openbsd.org: src

2022-04-02 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2022/04/02 09:35:06

Modified files:
sys/dev/usb: if_ure.c 

Log message:
Don't byte swap URE_TXPKT_VLAN_TAG when setting up the packet to transmit.
Fixes vlan transmission with hw tagging (problem seen on RTL8153B but there's
no reason this wouldn't apply to others) and matches what the Linux driver
is doing.  looks correct kettenis@ ok kevlo@



CVS: cvs.openbsd.org: src

2022-04-02 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2022/04/02 07:57:39

Modified files:
sys/scsi   : scsiconf.c 

Log message:
Bring back r1.247, using scsi_detach_link() to release
a partially configured struct scsi_link.

Problematic code path found by jungle Boogie was plugged
by r1.249.



Re: CVS: cvs.openbsd.org: src

2022-04-02 Thread Stuart Henderson
On 2022/04/02 06:22, Kevin Lo wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   ke...@cvs.openbsd.org   2022/04/02 06:22:56
> 
> Modified files:
>   sys/dev/usb: if_ure.c if_urereg.h 
> 
> Log message:
> Add preliminary support for RTL8156B and bug fixes for RTL8153/RTL8156.
> 
> ok stsp@
> 
> Tested:
> RTL8152  (0x4c10): jmatthew, Marcus Merighi
> RTL8153  (0x5c10): Yifei Zhan
> RTL8153  (0x5c20): James Jerkins, Paul de Weerd, stsp
> RTL8153  (0x5c30): gerhard, sthen
> RTL8153B (0x6010): Paul de Weerd

Mine was RTL8153B (0x6010)



CVS: cvs.openbsd.org: src

2022-04-02 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2022/04/02 06:23:20

Modified files:
regress/usr.sbin/rpki-client: test-cert.c 

Log message:
Adjust test code after addition of cert_parse_pre and change to cert_parse
and ta_parse.
Reminder from tb@



CVS: cvs.openbsd.org: src

2022-04-02 Thread Kevin Lo
CVSROOT:/cvs
Module name:src
Changes by: ke...@cvs.openbsd.org   2022/04/02 06:22:56

Modified files:
sys/dev/usb: if_ure.c if_urereg.h 

Log message:
Add preliminary support for RTL8156B and bug fixes for RTL8153/RTL8156.

ok stsp@

Tested:
RTL8152  (0x4c10): jmatthew, Marcus Merighi
RTL8153  (0x5c10): Yifei Zhan
RTL8153  (0x5c20): James Jerkins, Paul de Weerd, stsp
RTL8153  (0x5c30): gerhard, sthen
RTL8153B (0x6010): Paul de Weerd



CVS: cvs.openbsd.org: src

2022-04-02 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2022/04/02 06:17:53

Modified files:
usr.sbin/rpki-client: cert.c extern.h main.c parser.c 

Log message:
Split certificate parsing in two steps. cert_parse_pre() which does
the parse and some checks and cert_parse() or ta_parse() to do the
additional checks for regular certs or TAs.
With this adjust the cert parser in -f mode to identify TAs (by checking
if it is self signed) and adjust the validation in that case. Now -f
should be able to parse and show all object correctly.
With and OK tb@



CVS: cvs.openbsd.org: src

2022-04-02 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2022/04/02 03:00:46

Modified files:
sys/dev/pci: if_aq_pci.c 

Log message:
Add dmamap syncs for rings and mbufs, fixing occasional errors seen
on a rockpro64, where dma is less coherent than on typical amd64 systems.

with and ok dlg@