From owner-freebsd-arm@FreeBSD.ORG Fri Sep 12 20:35:12 2014 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F49B64B for ; Fri, 12 Sep 2014 20:35:12 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 07CC7632 for ; Fri, 12 Sep 2014 20:35:12 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 68BCAB977; Fri, 12 Sep 2014 16:35:10 -0400 (EDT) From: John Baldwin To: John-Mark Gurney Subject: Re: NEW_PCIB and arm take 3 (4?) Date: Fri, 12 Sep 2014 16:34:36 -0400 Message-ID: <2090192.XxU5luGasi@ralph.baldwin.cx> User-Agent: KMail/4.10.5 (FreeBSD/10.0-STABLE; KDE/4.10.5; amd64; ; ) In-Reply-To: <20140911065114.GJ82175@funkthat.com> References: <74248385.OR9iBtFISv@ralph.baldwin.cx> <20140910213039.GB82175@funkthat.com> <20140911065114.GJ82175@funkthat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 12 Sep 2014 16:35:10 -0400 (EDT) Cc: arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2014 20:35:12 -0000 On Wednesday, September 10, 2014 11:51:14 PM John-Mark Gurney wrote: > John-Mark Gurney wrote this message on Wed, Sep 10, 2014 at 14:30 -0700: > > John Baldwin wrote this message on Wed, Sep 10, 2014 at 17:19 -0400: > > > The plan for NEW_PCIB was for it to be a temporary option that would > > > eventually become the default on all platforms. I have long had patches > > > to > > > provide the one step of infrastructure (namely implementing "real" > > > bus_activate_resource methods) for various arm chipsets, but I haven't > > > been > > > able to get anyone to review or test them. I'm about at the point of > > > just > > > committing them in a week barring any specific reports from testers or > > > reviewers. > > > > > > You can read more about what NEW_PCIB is at: > > > https://wiki.freebsd.org/NEW_PCIB > > > > > > These patches aim to implement step 2 from that wiki page. However, I > > > have no way to test them (and to be honest, I haven't recently tested > > > to see if they will compile. I will ensure make universe passes before > > > pushing them in if it comes down to that.) > > > > > > http://people.freebsd.org/~jhb/patches/arm_activate2.patch > > > > > > As I noted previously, I don't know how to properly fix i80321_pci in > > > large > > > part because I do not understand what it is doing. Warner had > > > previously > > > suggested just dropping it and if the consensus is to do that, I'd be > > > much > > > obliged for someone to make it so. > > > > As before, I can test on AVILA (ixp425)... What's the best way to > > test the patch? Just apply, build, boot and verify that things come > > up sanely? > > > > If so, I'll have results for you soon.. > > Ok, tested, and my AVILA board comes up fine and see the ath board > I have on it... > > $ pciconf -lv > ath0@pci0:0:2:0: class=0x028000 card=0x2091168c chip=0x0029168c rev=0x01 > hdr=0x00 vendor = 'Atheros Communications Inc.' > device = 'AR922X Wireless Network Adapter' > class = network Perfect, thanks! -- John Baldwin