From owner-freebsd-arm@FreeBSD.ORG Thu Sep 11 06:51:17 2014 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E7C4596; Thu, 11 Sep 2014 06:51:17 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F5D37BA; Thu, 11 Sep 2014 06:51:16 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s8B6pFUI048900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Sep 2014 23:51:15 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s8B6pE4W048899; Wed, 10 Sep 2014 23:51:14 -0700 (PDT) (envelope-from jmg) Date: Wed, 10 Sep 2014 23:51:14 -0700 From: John-Mark Gurney To: John Baldwin , arm@freebsd.org Subject: Re: NEW_PCIB and arm take 3 (4?) Message-ID: <20140911065114.GJ82175@funkthat.com> Mail-Followup-To: John Baldwin , arm@freebsd.org References: <74248385.OR9iBtFISv@ralph.baldwin.cx> <20140910213039.GB82175@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140910213039.GB82175@funkthat.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Wed, 10 Sep 2014 23:51:15 -0700 (PDT) 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: Thu, 11 Sep 2014 06:51:17 -0000 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 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."