From owner-freebsd-sparc64@FreeBSD.ORG Tue Sep 2 11:07:19 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D59116A4BF for ; Tue, 2 Sep 2003 11:07:19 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0593E43FFD for ; Tue, 2 Sep 2003 11:07:18 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h82Iokbi001262; Tue, 2 Sep 2003 14:50:47 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h82I7DKE029700; Tue, 2 Sep 2003 11:07:13 -0700 (PDT) (envelope-from jmg) Date: Tue, 2 Sep 2003 11:07:13 -0700 From: John-Mark Gurney To: Marcel Moolenaar , sparc64@freebsd.org Message-ID: <20030902180713.GB16766@funkthat.com> Mail-Followup-To: Marcel Moolenaar , sparc64@freebsd.org References: <20030902021813.GA2300@dhcp01.pn.xcllnt.net> <20030902154054.GA691@timesink.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030902154054.GA691@timesink.dyndns.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 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 Subject: Re: Req review: OF_decode_addr() X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2003 18:07:19 -0000 Thomas Moestl wrote this message on Tue, Sep 02, 2003 at 17:40 +0200: > There are apparently cases where the #foo-cells properties are > missing; a sane default should be 2. Of course, there might also be > problems with the usual firmware quirks. This is specificly stated in the documentation that if said -cells is missing, to use a certain value. I don't have that handy, but would be willing to help write a generic version of this code. I also noticed that as you said, we don't do any mapping for any intervening busses. > > I'm not sure it's important to have that right away or if we can > > commit this and deal with that later? > > Just commit it. I can take a stab at implementing a more general > version later if you'd like (but it could take a month or so before > I will get to do it). Or I can help you. Maybe I should send you my ofwfs code that I've never commited that has a more generic version of getting addresses out of OFW. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."