Hello! > Fix pciutils non-32bit PCI write on OpenBSD. > OpenBSD supports only 32bit accesses to PCI config space. Emulate > smaller writes with a read/modify/write cycle.
Unfortunately, this is wrong ... PCI config space writes can have arbitrary side-effects (even reads can, sigh), even if you write the same value. Replacing 8-/16-bit writes by 32-bit read-modify-write cycles simply does not work. If the OS does not support narrow writes, the best libpci can do is to refuse the operation and let the application, which probably knows better how the particular piece of hardware behaves, handle it somehow. IOW, either OpenBSD should be fixed, or the work-around should be placed in flashrom, which knows the device in question. Have a nice fortnight -- Martin `MJ' Mares <m...@ucw.cz> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth Q: Do you believe in One God? A: Yes, up to isomorphism.