From nobody Sat Jun 10 17:30:11 2023 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QdlN23tC8z4c6DZ for ; Sat, 10 Jun 2023 17:30:42 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from webmail5.jnielsen.net (webmail5.jnielsen.net [IPv6:2607:f170:34:11::b0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.freebsdsolutions.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QdlN15Kx9z3wTm; Sat, 10 Jun 2023 17:30:41 +0000 (UTC) (envelope-from lists@jnielsen.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of lists@jnielsen.net designates 2607:f170:34:11::b0 as permitted sender) smtp.mailfrom=lists@jnielsen.net; dmarc=none Received: from smtpclient.apple (166-70-14-17.xmission.com [166.70.14.17] (may be forged)) (authenticated bits=0) by webmail5.jnielsen.net (8.17.1/8.17.1) with ESMTPSA id 35AHULm7020881 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 10 Jun 2023 11:30:27 -0600 (MDT) (envelope-from lists@jnielsen.net) X-Authentication-Warning: webmail5.jnielsen.net: Host 166-70-14-17.xmission.com [166.70.14.17] (may be forged) claimed to be smtpclient.apple Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: John Nielsen List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: Help me grok the ath(4) device attach code Date: Sat, 10 Jun 2023 11:30:11 -0600 Message-Id: <43B0F165-F0A8-4221-BF44-1A3221192EFB@jnielsen.net> References: Cc: "Bjoern A. Zeeb" , wireless@freebsd.org In-Reply-To: To: Adrian Chadd X-Mailer: iPhone Mail (20F66) X-Spamd-Result: default: False [-2.65 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.85)[-0.850]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[wireless@freebsd.org]; ASN(0.00)[asn:6364, ipnet:2607:f170:30::/44, country:US]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[jnielsen.net]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; HAS_XAW(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4QdlN15Kx9z3wTm X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N > On Jun 8, 2023, at 6:34 PM, Adrian Chadd wrote: >=20 > hm, does ath9k do a specific pci bus reset somewhere? Not that I=E2=80=99ve encountered but I=E2=80=99ll take another look. On a side note, is AH_DEBUG broken for anyone else or am I doing something w= rong? I=E2=80=99m trying to get some of the built-in debug messages as well a= s adding my own but not having any luck. I=E2=80=99ve compiled it in and hav= e =E2=80=98hw.ath.hal.debug=3D=E2=80=9C0xffffffff=E2=80=9D=E2=80=99 but neve= r get any messages at boot and once I can log in the sysctl is set to 0. (AT= H_DEBUG seems to work fine, but I need the HAL messages.) I=E2=80=99m runnin= g 14-CURRENT from a few weeks ago.=