Re: unbreak pciutils

2010-03-21 Thread Brynet
Matthieu Herrb wrote: > Well you need machdep.allowaperture > 0 for open r/w to succeed. > > Are you sure pciutils never tries to write to pci config space? if so > ok. setpci(8) most definately needs to open the pci device as r/w, but unfortunately it appears writes have been broken for some ti

Re: unbreak pciutils

2010-03-21 Thread Matthieu Herrb
On Mon, Mar 22, 2010 at 01:16:02AM +1100, Jonathan Gray wrote: > We need to open the pci device O_RDONLY not O_RDWR for this > to work, otherwise the result is: > > lspci: obsd_init: /dev/pci open failed Well you need machdep.allowaperture > 0 for open r/w to succeed. Are you sure pciutils never