on 15/05/2008 13:24 Stefan Reinauer said the following:
Andriy Gapon wrote:
The diff is attached. But it is really very ugly and hackish. The most noisy change is that outb has different order of arguments on Linux and FreeBSD.
Oh this is part is really ugly, indeed but there is not much that can be done to make it really nice.
Why don't you use libpci from pciutils btw? It should work on FreeBSD ...
Thank you for pointing me in this direction, I missed this one.
Hmm, I see that 25 e5 is present here. So it might mean that my ported code didn't properly enable flash chip communication?
What's the mainboard? Maybe the mainboard protects the chip with an additional GPIO line.
Really old one, MP2-BX-X (rev. D): http://www.geocities.com/SiliconValley/3686/delta_mp2.html