From nobody@FreeBSD.org  Wed Jun  6 11:24:42 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E8D711065673
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Jun 2012 11:24:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D0F908FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Jun 2012 11:24:42 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q56BOgkp077359
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 6 Jun 2012 11:24:42 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q56BOgMU077358;
	Wed, 6 Jun 2012 11:24:42 GMT
	(envelope-from nobody)
Message-Id: <201206061124.q56BOgMU077358@red.freebsd.org>
Date: Wed, 6 Jun 2012 11:24:42 GMT
From: Irakli <ika256@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: if_ath dont have internal name
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         168754
>Category:       kern
>Synopsis:       [ath] if_ath dont have internal name
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-wireless
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 06 11:30:12 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Apr 20 02:52:35 UTC 2014
>Originator:     Irakli
>Release:        9.0-Release and 9.0-Stable
>Organization:
home
>Environment:
FreeBSD bsd2 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat May 26 13:15:38 GET 2012     irakli@bsd2:/usr/src/sys/amd64/compile/GENERIC  amd64

FreeBSD ns 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
in GENERIC Kernel where if_ath is builtin, 
I cant see module name in kldstat -v

ns# kldstat -v | grep ath
                350 uhub/uath
                117 pci/ath_pci

ns# ls /boot/kernel | grep ath
geom_multipath.ko
geom_multipath.ko.symbols
if_ath.ko
if_ath.ko.symbols
if_ath_pci.ko
if_ath_pci.ko.symbols
if_uath.ko
if_uath.ko.symbols

so 
if_ath_pci.ko = pci/ath_pci
if_uath.ko = uhub/uath
if_ath = ???

I check it in 9.0-Release and after 9.0-Stable. same result.

when I remove module in config file and recompile kernel
kldstat -v

 3    2 0xffffffff81412000 770ee    if_ath.ko (/boot/kernel/if_ath.ko)
        Contains modules:
                Id Name
 4    1 0xffffffff8148a000 937      if_ath_pci.ko (/boot/kernel/if_ath_pci.ko)
        Contains modules:
                Id Name
                434 pci/ath_pci

no internal module name for if_ath and because i cant see ath in kldstat
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Apr 20 02:52:15 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168754 
>Unformatted:
