Date: Thu, 12 Jun 2003 16:52:07 -0700 From: John-Mark Gurney <gurney_j@efn.org> To: ticso@cicely.de Cc: "M. Warner Losh" <imp@bsdimp.com> Subject: Re: pci probing "fixed" (was Re: PCI bus numbering and orphaned devices) Message-ID: <20030612235207.GM748@funkthat.com> In-Reply-To: <20030612232329.GK26807@cicely12.cicely.de> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030612235207.GM748>
