Download raw body.
rtwn_debug
On 2025/05/13 00:46, jon@elytron.openbsd.amsterdam wrote:
> Hello everyone. I was looking around and it seems like at the moment,
> enabling "option RTWN_DEBUG" in the kernel config is pretty much
> useless since the controlling variable in dev/ic/rtwn.c (rtwn_debug)
> is set to 0 anyways.
that's not particularly unusual. one common paradigm with these is
that you can build a kernel with debugging enabled and then when you
actually want to use it you break into ddb, 'w rtwn_debug 1', 'c'
$ cat /sys/dev/{pci,usb}/*c | grep -c '_debug = 0;'
15
$ cat /sys/dev/{pci,usb}/*c | grep -c '_debug = 1;'
11
rtwn_debug