Re: glxclk(4/loongson): remove driver

2023-07-05 Thread Visa Hankala
On Wed, Jul 05, 2023 at 09:39:00PM -0500, Scott Cheloha wrote: > glxclk(4) has been compiled-but-disabled for over six months. It was > disabled when loongson made the clockintr switch. Nobody has asked me > to make it an intrclock option for loongson so I assume the mips64 CP0 > interrupt clock

glxclk(4/loongson): remove driver

2023-07-05 Thread Scott Cheloha
glxclk(4) has been compiled-but-disabled for over six months. It was disabled when loongson made the clockintr switch. Nobody has asked me to make it an intrclock option for loongson so I assume the mips64 CP0 interrupt clock is sufficient. This patch deletes the driver, driver config glue,

axppmic(4): revise (fix axppmic_regdata table, axp305 support)

2023-07-05 Thread SASANO Takayoshi
Hello, Adding axp305 support to axppmic(4), I found following bugs: - only voltage range defined base and delta working, base2 and delta2 not working - even if base2 and delta2 range working, voltage setting/status is not correct - vmask for AXP209's

relayd exit with check_table: cannot get table stats

2023-07-05 Thread Kapetanakis Giannis
Hi, I've send a bug report in bugs@ with subject "relayd crashing some times" After I disable all hosts from a redirect, I get random fatal() error from check_tables() like the one bellow: pfe: check_table: cannot get table stats for dir-sieve@relayd/dir-sieve: No such file or directory

fix crash in routing table

2023-07-05 Thread Alexander Bluhm
Hi, When forwaring in packets parallel while removing the corresponding ARP entry in a loop like this while :; do arp -nd 10.10.21.1; arp -nd 10.10.22.4; done it was quite easy to crash the kernel. The race is exposed by putting a delay() here: Index: net/rtable.c

Re: use if_register in dwge(4)

2023-07-05 Thread Mark Kettenis
> Date: Wed, 5 Jul 2023 22:11:19 +0300 > From: Jonathan Matthew > > Like dwqe(4), dwge(4) should also register its instances for lookup > by ofw node or phandle. > > ok? ok kettenis@ > Index: if_dwge.c > === > RCS file:

use if_register in dwge(4)

2023-07-05 Thread Jonathan Matthew
Like dwqe(4), dwge(4) should also register its instances for lookup by ofw node or phandle. ok? Index: if_dwge.c === RCS file: /cvs/src/sys/dev/fdt/if_dwge.c,v retrieving revision 1.17 diff -u -p -r1.17 if_dwge.c --- if_dwge.c 5

Re: [PATCH] Elantech touchpad I2C deiver

2023-07-05 Thread Vladimir 'phcoder' Serbinenko
Le mer. 5 juil. 2023, 18:02, joshua stein a écrit : > > few commands from HID but is largely incompatible as reports are > different > > and report descriptors are missing. > > Some minor comments inline. It also needs a man page. > Fixed and added manpage. > > > > > > +/* $OpenBSD: elantp.c,v

Re: acpi: move acpiioctl to x86

2023-07-05 Thread Theo de Raadt
Sure. Tobias Heider wrote: > I am planning to restructure the APM/sleep APIs to make it easier to suspend > from more places like as a suspend keyboard shortcut. > > The acpiioctl handler is x86 specific code which is currently built on all > platforms but only hooked up on i386 and amd64. It

Re: Diff for evaluation (WACOM tablet driver)

2023-07-05 Thread Marc Espie
On Tue, Jul 04, 2023 at 07:20:51PM -0400, Thomas Frohwein wrote: > Thanks, I built a kernel with this and no issues observed. I have a > Wacom Bamboo (CTH-470, product id 0x00de) that doesn't attach yet, but > this can be left for future work. I don't see anything glaring. hid.c > could probably

Re: [PATCH] Elantech touchpad I2C deiver

2023-07-05 Thread joshua stein
On Wed, 05 Jul 2023 at 14:09:41 +0200, Vladimir 'phcoder' Serbinenko wrote: > This patch adds support for I2C Elantech touchpad as used on Chromebooks > and some other laptops. Tested on Elemi Chromebook. Based on FreeBSD ietp > driver and OpenBSD ihidev.c driver. Ietp uses HID endpoint descriptor

acpi: move acpiioctl to x86

2023-07-05 Thread Tobias Heider
I am planning to restructure the APM/sleep APIs to make it easier to suspend from more places like as a suspend keyboard shortcut. The acpiioctl handler is x86 specific code which is currently built on all platforms but only hooked up on i386 and amd64. It is also in the way of my plans, so I'd

Re: dwge(4) fixed-link support

2023-07-05 Thread Mark Kettenis
> Date: Wed, 5 Jul 2023 16:09:14 +0300 > From: Jonathan Matthew > > On Wed, Jul 05, 2023 at 01:13:34PM +0200, Mark Kettenis wrote: > > > Date: Wed, 5 Jul 2023 12:46:36 +0300 > > > From: Jonathan Matthew > > > > > > On the Banana Pi R1 (aka Lamobo R1), the dwge interface on the soc is > > >

Re: dwge(4) fixed-link support

2023-07-05 Thread Jonathan Matthew
On Wed, Jul 05, 2023 at 01:13:34PM +0200, Mark Kettenis wrote: > > Date: Wed, 5 Jul 2023 12:46:36 +0300 > > From: Jonathan Matthew > > > > On the Banana Pi R1 (aka Lamobo R1), the dwge interface on the soc is > > connected to a broadcom switch chip. It looks like this in the device > > tree: >

[PATCH] Elantech touchpad I2C deiver

2023-07-05 Thread Vladimir 'phcoder' Serbinenko
This patch adds support for I2C Elantech touchpad as used on Chromebooks and some other laptops. Tested on Elemi Chromebook. Based on FreeBSD ietp driver and OpenBSD ihidev.c driver. Ietp uses HID endpoint descriptor and few commands from HID but is largely incompatible as reports are different

Re: dwge(4) fixed-link support

2023-07-05 Thread Mark Kettenis
> Date: Wed, 5 Jul 2023 12:46:36 +0300 > From: Jonathan Matthew > > On the Banana Pi R1 (aka Lamobo R1), the dwge interface on the soc is > connected to a broadcom switch chip. It looks like this in the device > tree: > > { > pinctrl-names = "default"; > pinctrl-0 =

Re: urtwn: support new chip RTL8188FTV

2023-07-05 Thread Pontus Stenetorp
On Wed 05 Jul 2023, Pontus Stenetorp wrote: > On Thu 27 Apr 2023, Stefan Sperling wrote: > > > > On Thu, Apr 27, 2023 at 01:38:04PM +0800, Kevin Lo wrote: > > > > > > The diff below adds initial support for RTL8188FTV adapters. > > > RTL8188FTV is an 802.11b/g/n, 1T1R chipset. > > > The firmware

Re: urtwn: support new chip RTL8188FTV

2023-07-05 Thread Pontus Stenetorp
On Thu 27 Apr 2023, Stefan Sperling wrote: > > On Thu, Apr 27, 2023 at 01:38:04PM +0800, Kevin Lo wrote: > > > > The diff below adds initial support for RTL8188FTV adapters. > > RTL8188FTV is an 802.11b/g/n, 1T1R chipset. > > The firmware file comes from Linux's rtl8188fufw.bin [1]. > > > >

Re: pf(4) should mention DIOCXEND

2023-07-05 Thread Alexandr Nedvedicky
Hello, diff below includes suggestions from jmc@ and kn@ I'll commit it later today. thanks and regards sashan 8<---8<---8<--8< diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4 index 92eeb45f657..e9d4231fe97 100644 ---

dwge(4) fixed-link support

2023-07-05 Thread Jonathan Matthew
On the Banana Pi R1 (aka Lamobo R1), the dwge interface on the soc is connected to a broadcom switch chip. It looks like this in the device tree: { pinctrl-names = "default"; pinctrl-0 = <_rgmii_pins>; phy-mode = "rgmii"; phy-supply = <_gmac_3v3>; status

Re: pf(4) should mention DIOCXEND

2023-07-05 Thread Klemens Nanni
On Wed, Jul 05, 2023 at 11:15:41AM +0200, Alexandr Nedvedicky wrote: > Hello, > > > On Wed, Jul 05, 2023 at 11:10:11AM +0200, Alexandr Nedvedicky wrote: > > > > > thanks for your help to put my update to pf(4) to shape. > > updated diff is below. > > > > diff in my earlier email was

Re: pf(4) should mention DIOCXEND

2023-07-05 Thread Jason McIntyre
On Wed, Jul 05, 2023 at 11:10:11AM +0200, Alexandr Nedvedicky wrote: > diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4 > index 92eeb45f657..7346c7e3194 100644 > --- a/share/man/man4/pf.4 > +++ b/share/man/man4/pf.4 > @@ -48,12 +48,25 @@ and retrieve statistics. > The most commonly used

Re: pf(4) should mention DIOCXEND

2023-07-05 Thread Alexandr Nedvedicky
Hello, On Wed, Jul 05, 2023 at 11:10:11AM +0200, Alexandr Nedvedicky wrote: > > thanks for your help to put my update to pf(4) to shape. > updated diff is below. > diff in my earlier email was wrong. this one is the right one. sorry for extra noise. regards sashan

Re: pf(4) should mention DIOCXEND

2023-07-05 Thread Alexandr Nedvedicky
Hello Jason, thank you for taking a look. More comments in-line. On Tue, Jul 04, 2023 at 09:03:29PM +0100, Jason McIntyre wrote: > > @@ -48,12 +48,25 @@ and retrieve statistics. > > The most commonly used functions are covered by > > .Xr pfctl 8 . > > .Pp > > -Manipulations like loading a

Re: Remove unnecessary NOWITNESS kludge

2023-07-05 Thread Alexander Bluhm
On Wed, Jul 05, 2023 at 03:41:31AM +, Visa Hankala wrote: > Initialize stack-based mutexed using mtx_init(). This removes the need > of the NOWITNESS kludge and lets the lock checker do its job with these > mutexes. > > At the moment, static initialization of locks inside functions does not >