From owner-freebsd-current@FreeBSD.ORG Tue Oct 21 14:46:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33D7216A4B3 for ; Tue, 21 Oct 2003 14:46:30 -0700 (PDT) Received: from lewis.lclark.edu (www.ncvli.org [149.175.1.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 8AB6043F93 for ; Tue, 21 Oct 2003 14:46:29 -0700 (PDT) (envelope-from eta@lclark.edu) Received: from [149.175.34.27] ([149.175.34.27]) by lewis.lclark.edu (SAVSMTP 3.1.1.32) with SMTP id M2003102114462426410 for ; Tue, 21 Oct 2003 14:46:24 -0700 From: Eric Anholt To: current@freebsd.org Content-Type: text/plain Message-Id: <1066772724.646.62.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 21 Oct 2003 14:45:24 -0700 Content-Transfer-Encoding: 7bit Subject: PCI domains? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 21:46:30 -0000 X-List-Received-Date: Tue, 21 Oct 2003 21:46:30 -0000 Is there any concept of PCI domains in the kernel? This is for the DRM, while dealing with a complaint from Linus recently: > Please fix the fact that modern PCI is _not_ enumerated with just "bus, > slot, function". A lot of machines are starting to have a "domain number", > which allows fro multiple independent PCI subsystems in the same machine. > > On linux, you can use "pci_name(pdev)" to get a truly unique descriptor of > the device (within the PCI subsystem). It will look something like > > 0000:00:02.0 > > for "domain 0, bus 0, device 2, function 0". -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org