Re: Help me grok the ath(4) device attach code

From: John Nielsen <lists_at_jnielsen.net>
Date: Sat, 10 Jun 2023 17:30:11 UTC
> On Jun 8, 2023, at 6:34 PM, Adrian Chadd <adrian@freebsd.org> wrote:
> 
> hm, does ath9k do a specific pci bus reset somewhere?

Not that I’ve encountered but I’ll take another look.

On a side note, is AH_DEBUG broken for anyone else or am I doing something wrong? I’m trying to get some of the built-in debug messages as well as adding my own but not having any luck. I’ve compiled it in and have ‘hw.ath.hal.debug=“0xffffffff”’ but never get any messages at boot and once I can log in the sysctl is set to 0. (ATH_DEBUG seems to work fine, but I need the HAL messages.) I’m running 14-CURRENT from a few weeks ago.