Date: Sun, 30 Sep 2007 15:34:57 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Marius Strobl <marius@alchemy.franken.de> Cc: Michael Butler <imb@protected-networks.net>, 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 ... Message-ID: <0FE79DBF-2E3B-4785-B192-666E02BFFB6D@mac.com> In-Reply-To: <20070930221748.GC55741@alchemy.franken.de> References: <20070930114914.GB38896@alchemy.franken.de> <47001D02.4080700@protected-networks.net> <20070930221748.GC55741@alchemy.franken.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0FE79DBF-2E3B-4785-B192-666E02BFFB6D>