From owner-freebsd-current@FreeBSD.ORG Mon Sep 20 13:51:42 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFF84106566B; Mon, 20 Sep 2010 13:51:42 +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 8155D8FC13; Mon, 20 Sep 2010 13:51:42 +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 1359046B06; Mon, 20 Sep 2010 09:51:42 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id BD3F68A04E; Mon, 20 Sep 2010 09:51:40 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 20 Sep 2010 09:25:10 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009200925.10362.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 20 Sep 2010 09:51:40 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Adrian Chadd , freebsd-mobile@freebsd.org Subject: Re: RFT: if_ath HAL refactoring X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 13:51:42 -0000 On Saturday, September 18, 2010 12:09:21 pm Adrian Chadd wrote: > Hi all, > > I've uploaded a snapshot of the if_ath HAL which i've been working on. > I've been refactoring out various bits of the AR5416 HAL into > something that resembles the ath9k hardware MAC/PHY operations to make > it easier to port further ath9k updates over. It also includes the > AR9100 support (but it's missing a couple bits of glue needed to use > it outside of my GIT tree.) Finally, it includes the probe/attach > operations for the AR2427, but I haven't at all tested it yet (and > i've explained why it isn't working in a previous email.) > > It's available for download at http://people.freebsd.org/~adrian/ath/ > . There's a diff against src/sys/files/conf and a tarball that just > replaces the ath device/module directory. > > Note you'll need to add "device if_ath_pci" to your kernel > configuration file as the PCI bus glue is now not built by default in > a static kernel in this HAL. (It's included in the module Makefile by > default.) This was done to allow multiple backend bus types - now > being PCI and "AHB" for the AR9100 SoC. Why not include this iff both 'device ath' and 'device pci' are included? That is what is normally done for bus-specific attachments. -- John Baldwin