From owner-p4-projects@FreeBSD.ORG Mon Apr 3 22:16:28 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DA60216A51C; Mon, 3 Apr 2006 22:16:27 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B368B16A50C; Mon, 3 Apr 2006 22:16:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BCAD43D46; Mon, 3 Apr 2006 22:16:27 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k33MEkmn023575; Mon, 3 Apr 2006 16:14:46 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 03 Apr 2006 16:14:46 -0600 (MDT) Message-Id: <20060403.161446.78731312.imp@bsdimp.com> To: jhb@freebsd.org From: Warner Losh In-Reply-To: <200604031503.41288.jhb@freebsd.org> References: <200604030641.k336f6iG055021@repoman.freebsd.org> <200604031503.41288.jhb@freebsd.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jmg@freebsd.org, perforce@freebsd.org Subject: Re: PERFORCE change 94510 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 22:16:28 -0000 From: John Baldwin Subject: Re: PERFORCE change 94510 for review Date: Mon, 3 Apr 2006 15:03:40 -0400 > On Monday 03 April 2006 02:41, John-Mark Gurney wrote: > > http://perforce.freebsd.org/chv.cgi?CH=94510 > > > > Change 94510 by jmg@jmg_arlene on 2006/04/03 06:40:19 > > > > don't force the unit number to match the bus number, this breaks > > machines with multiple pci domains... how the alpha worked with > > this is beyond me (besides using custom pci bridge drivers?) > > Alpha has issues with hoses. That said, this might break some things. :( > If nothing else, it makes it nearly impossible now for people to get the > names of hints to override things like PCI routing via tunables correct. > I would prefer a structured solution that preserved the status quo on > machines w/o multiple domains. Maybe have the unit number be something > like domain * X + bus number, where X is some arbitrary constant like > 100 or 1000 (those are better for human parsing). We override the pci unit number to act as a bus number in passing data into the kernel for pciconf. Warner