From owner-freebsd-current@FreeBSD.ORG Sun Sep 30 23:03:53 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B40EF16A418 for ; Sun, 30 Sep 2007 23:03:53 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.83]) by mx1.freebsd.org (Postfix) with ESMTP id 7CA4113C45A for ; Sun, 30 Sep 2007 23:03:53 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin05-en2 [10.13.10.150]) by smtpoutm.mac.com (Xserve/smtpout020/MantshX 4.0) with ESMTP id l8UMZ7l4006623; Sun, 30 Sep 2007 15:35:07 -0700 (PDT) Received: from [172.16.1.6] (209-128-86-226.bayarea.net [209.128.86.226]) (authenticated bits=0) by mac.com (Xserve/smtpin05/MantshX 4.0) with ESMTP id l8UMZ45O002114 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 30 Sep 2007 15:35:05 -0700 (PDT) In-Reply-To: <20070930221748.GC55741@alchemy.franken.de> References: <20070930114914.GB38896@alchemy.franken.de> <47001D02.4080700@protected-networks.net> <20070930221748.GC55741@alchemy.franken.de> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0FE79DBF-2E3B-4785-B192-666E02BFFB6D@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Sun, 30 Sep 2007 15:34:57 -0700 To: Marius Strobl X-Mailer: Apple Mail (2.752.3) Cc: Michael Butler , current@freebsd.org Subject: Re: HEADS UP: [cvs commit: src UPDATING src/share/man/man4 pci.4 src/share/man/man9 pci.9 src/sys/amd64/include legacyvar.h src/sys/amd64/amd64 legacy.c src/sys/amd64/pci pci_bus.c src/sys/arm/xscale/i80321 i80321_pci.c src/sys/arm/xscale/ixp425 ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 30 Sep 2007 23:03:53 -0000 On Sep 30, 2007, at 3:17 PM, Marius Strobl wrote: >> Where it would previously succeed, I now get .. >> >> toshi# pciconf -wb pci0:30:0 0x1a 8 >> pciconf: ioctl(PCIOCWRITE): Operation not supported by device >> > > As mentioned the format of the location strings has changed, > you probably need to use pci0:0:30:0. If compatibility is a concern, we may be able to make the parsing a bit more smart without too much complexity. We can count the number of colons for exampl,e and assume missing elements are 0. So, if one enters pci1:2:3, the domain will be 0. If one enters pci4:5, both the domain and bus will be 0, etc. Just a thought... -- Marcel Moolenaar xcllnt@mac.com