From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 12 16:51:41 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 C699E37B401; Thu, 12 Jun 2003 16:51:41 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4A2643FA3; Thu, 12 Jun 2003 16:51:40 -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 h5CNiOZM010671; Thu, 12 Jun 2003 19:44:24 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h5CNq7PQ010997; Thu, 12 Jun 2003 16:52:07 -0700 (PDT) (envelope-from jmg) Date: Thu, 12 Jun 2003 16:52:07 -0700 From: John-Mark Gurney To: ticso@cicely.de Message-ID: <20030612235207.GM748@funkthat.com> Mail-Followup-To: ticso@cicely.de, "M. Warner Losh" , ticso@cicely12.cicely.de, freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org References: <20030609.224621.71095461.imp@bsdimp.com> <20030610115615.GB10527@cicely12.cicely.de> <20030610121249.GE10527@cicely12.cicely.de> <20030610.082730.102566465.imp@bsdimp.com> <20030610223436.GC37257@funkthat.com> <20030610231649.GD26807@cicely12.cicely.de> <20030611133353.GA634@crow.dom2ip.de> <20030612225632.GK748@funkthat.com> <20030612232329.GK26807@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030612232329.GK26807@cicely12.cicely.de> 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 cc: ticso@cicely12.cicely.de cc: freebsd-current@freebsd.org cc: freebsd-sparc64@freebsd.org cc: "M. Warner Losh" Subject: Re: pci probing "fixed" (was Re: PCI bus numbering and orphaned devices) 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: Thu, 12 Jun 2003 23:51:42 -0000 Bernd Walter wrote this message on Fri, Jun 13, 2003 at 01:23 +0200: > Your patch still probes for additional functions without checking > if the device really is a multifunction device. I just now realized that the MFDEV ment Multi-Function device! Now the patch to pci.c makes perfect sense. > There are devices out there that react on every function although they > are single function. > Can you check this together with Warners patch? Thanks, I've been having a conversation with gibbs (via proxy through dwhite) and he suggested the same thing. The good news is that this now works "properly". I have posted the updated stuff at: http://people.FreeBSD.org/~jmg/dmesg.sparc64.v2 http://people.FreeBSD.org/~jmg/pciconf-lv.sparc64.v2 http://people.FreeBSD.org/~jmg/sparc.patch.v2 I will of course revert pci_read_device back to it's original state since the MFDEV patch makes it unnecessary. > Maybe we can also keep the original code, as the problem was not not > of machine independent nature as I originaly tought. > > > Warning, this contains much debugging data, and probes for PCI devices > > that previously didn't get probed for. > > > > P.S. Sorry for the duplicate post to -sparc64. I forgot that some of > > the -current crowd is interested in this work too. > > If it changes MI part - yes. Looks like it will change it some. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."