From owner-svn-src-head@FreeBSD.ORG Thu Mar 31 11:40:21 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1BC2106566B; Thu, 31 Mar 2011 11:40:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id B4BED8FC0C; Thu, 31 Mar 2011 11:40:21 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 2471046B51; Thu, 31 Mar 2011 07:40:21 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id B74508A01B; Thu, 31 Mar 2011 07:40:20 -0400 (EDT) From: John Baldwin To: Adrian Chadd Date: Thu, 31 Mar 2011 07:40:20 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <201103310807.p2V87DHV096049@svn.freebsd.org> In-Reply-To: <201103310807.p2V87DHV096049@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201103310740.20265.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Thu, 31 Mar 2011 07:40:20 -0400 (EDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r220185 - in head/sys: amd64/conf arm/conf conf dev/ath i386/conf mips/conf modules modules/ath modules/ath_ahb modules/ath_pci pc98/conf sparc64/conf X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2011 11:40:22 -0000 On Thursday, March 31, 2011 4:07:13 am Adrian Chadd wrote: > Author: adrian > Date: Thu Mar 31 08:07:13 2011 > New Revision: 220185 > URL: http://svn.freebsd.org/changeset/base/220185 > > Log: > Break out the ath PCI logic into a separate device/module. > > Introduce the AHB glue for Atheros embedded systems. Right now it's > hard-coded for the AR9130 chip whose support isn't yet in this HAL; > it'll be added in a subsequent commit. > > Kernel configuration files now need both 'ath' and 'ath_pci' devices; both > modules need to be loaded for the ath device to work. Err, there's no need to break the kernel config. Just have the kernel DTRT if both ath and pci are enabled using something like: sys/dev/ath/if_ath_pci.c ath pci in sys/conf/files. You can still have an if_ath_pci.ko module with this arrangement. This is what almost all other drivers due that have multiple bus backends. -- John Baldwin