From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 22 16:27:27 2013 Return-Path: Delivered-To: freebsd-ppc@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 ESMTP id 5070DB56 for ; Tue, 22 Oct 2013 16:27:27 +0000 (UTC) (envelope-from jeclark2006@aim.com) Received: from omr-m02.mx.aol.com (omr-m02.mx.aol.com [64.12.143.76]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 19A642644 for ; Tue, 22 Oct 2013 16:27:26 +0000 (UTC) Received: from mtaout-ma06.r1000.mx.aol.com (mtaout-ma06.r1000.mx.aol.com [172.29.41.6]) by omr-m02.mx.aol.com (Outbound Mail Relay) with ESMTP id 3E7A570140FAC; Tue, 22 Oct 2013 12:27:20 -0400 (EDT) Received: from [10.0.0.205] (wsip-68-105-252-106.sd.sd.cox.net [68.105.252.106]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-ma06.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 3F382E0006A9; Tue, 22 Oct 2013 12:27:18 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Updates to MPC85XX PCI driver From: John Clark In-Reply-To: <52669D8A.8020302@freebsd.org> Date: Tue, 22 Oct 2013 09:27:14 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <52669D8A.8020302@freebsd.org> To: Nathan Whitehorn X-Mailer: Apple Mail (2.1510) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1382459240; bh=NUeWWdFg7ptyDgbXEM7FhGhqWMXt9L1L/LtDUuKsMBA=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=xMrkHdi6HlpXOQ8doQwywlE8IDC9DdPkC3vlYpLZy0TqZ74BwO5AlzCQEl++kKdUK sqCIItxRSvNe/Qca72NUdlBiJPKJ4h6Itamzm8sedsWbsneLDT4roYaLR6bfuTtPYF zxyvevm905YHqWPzEFTvkY9RQtHUOdH4c701UVbw= x-aol-sid: 3039ac1d29065266a76679b5 X-AOL-IP: 68.105.252.106 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 16:27:27 -0000 On Oct 22, 2013, at 8:45 AM, Nathan Whitehorn = wrote: > I've been going through our tree trying to remove code duplication = between AIM and Book-E, as people attentive to the commit logs might = have seen. At the same time, I'm also trying to deduplicate the FDT and = OFW code, since they are implementing many of the same interfaces and = specifications. As part of that, I've adapted the MPC85XX PCI driver to = use the generic ofw_pci code, which gives a quite substantial reduction = in the driver and also substantially improves its robustness to = variations on the device tree setup: > http://people.freebsd.org/~nwhitehorn/pci_mpc85xx.diff >=20 > I can currently only test this patch in QEMU, where it works fine, and = there should be no functional changes at all, but tests on real hardware = would be appreciated. If I don't hear anything, I'll commit this at the = end of the week. > -Nathan I had quite a bit of problem with PCI and the P1020WLAN eval board, = which is based on the MPC85XX processor 'class'. Unfortunately right at = the moment I've had to return to updated my OpenWRT linux environment, = so perhaps next week I can 'test' what you have on my hardware. John Clark.