Re: [Patch] Make Azalia recognize audio chipset for Thinkpad T14s

2020-10-21 Thread Ashton Fagg
Ashton Fagg writes: > (My first OpenBSD patch - sorry if it's terrible) > > Attached is a patch to make the audio chipset (Realtek ALC257) in a > Thinkpad T14s get recognized by Azalia. It also sets the usual bits > that get set for most other devices. > > Additionally, this also enabled pci-e

diff: fixing a few broken links on 68.html, and other minor things

2020-10-21 Thread Andras Farkas
Hello! While reading 68.html I noticed some of the man page links pointed to the man pages in the wrong section of the manual. (at least, given the manual section numbers listed next to them in the 68.html text) I decided to fix these. While there, I also made the fixed links point at 6.8 man

Re: [Patch] Make Azalia recognize audio chipset for Thinkpad T14s

2020-10-21 Thread Jonathan Gray
On Wed, Oct 21, 2020 at 06:27:15PM -0400, Ashton Fagg wrote: > Ashton Fagg writes: > > > (My first OpenBSD patch - sorry if it's terrible) > > > > Attached is a patch to make the audio chipset (Realtek ALC257) in a > > Thinkpad T14s get recognized by Azalia. It also sets the usual bits > > that

Re: [Patch] Make Azalia recognize audio chipset for Thinkpad T14s

2020-10-21 Thread Ashton Fagg
Jonathan Gray writes: > pcidevs.h is a generated file. After pcidevs is modified 'make' is run > in sys/dev/pci then pcidevs.h and pcidevs_data.h are created based on > that. In this case it is already there though so you don't need to > change it. Thanks for the review. Updated patch

[Patch] Make Azalia recognize audio chipset for Thinkpad T14s

2020-10-21 Thread Ashton Fagg
(My first OpenBSD patch - sorry if it's terrible) Attached is a patch to make the audio chipset (Realtek ALC257) in a Thinkpad T14s get recognized by Azalia. It also sets the usual bits that get set for most other devices. Additionally, this also enabled pci-e snooping for the Renoir HDA

Re: [Patch] Make Azalia recognize audio chipset for Thinkpad T14s

2020-10-21 Thread Jonathan Gray
On Wed, Oct 21, 2020 at 07:32:46PM -0400, Ashton Fagg wrote: > Jonathan Gray writes: > > > pcidevs.h is a generated file. After pcidevs is modified 'make' is run > > in sys/dev/pci then pcidevs.h and pcidevs_data.h are created based on > > that. In this case it is already there though so you

Diff for www:macppc

2020-10-21 Thread bsd
Hi, Here a diff for www page: macppc I suggest to use the HTML kbd tag instead Right? Index: macppc.html === RCS file: /cvs/www/macppc.html,v retrieving revision 1.274 diff -u -r1.274 macppc.html --- macppc.html 18 Oct 2020

cleanup bgpd commons first step

2020-10-21 Thread Claudio Jeker
Bgpd uses many common symbols and the latest compilers are being picky about these common symbols. This removes the global bgpd_process variable and cleans up the filter_set code to not depend on process knowledge (instead use a new type and don't overload another one). -- :wq Claudio Index:

Refactor bgpd control code

2020-10-21 Thread Claudio Jeker
This refactors the control code a bit and removes the common var from the session.h header. The session engine no longer walks the control connection list. Additionally cleanup the control.c code around control_dispatch_msg(). E.g. don't do double lookups of control sessions by fd to close them.