Subject: Re: OF bug of the week
To: netbsd-macppc macppc <port-macppc@netbsd.org>
From: Michael <macallan1888@gmail.com>
List: port-macppc
Date: 10/17/2006 13:45:21
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Oct 16, 2006, at 19:22, Michael Lorenz wrote:

> just for the records. I put a RealTek 8029 card ( cheap PCI NE2k 
> compatible ) into my Beige G3 only to find out that OF ( 2.0f1 ) must 
> be completely on drugs or something - it mapped both the 8029's and 
> the onboard graphics controller's I/O registers to 0x1000. So when ne 
> tries to attach it messes up the video output.
> Is that just me or can anyone reproduce this?

Turns out it's not OF - the graphics controller's OF properties only 
ever mention the aperture's address and don't say anything about the IO 
range. No idea how the 0x1000 got there, probably the ATI firmware.

> The obvious workaround would be to disable I/O accesses in machfb 
> since neither machfb nor XFree's atimisc driver actually care about 
> the I/O range - both prefer the memory-mapped registers.

Turns out machfb doesn't even try to map it so I just disabled IO 
accesses and the problem went away.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRTUWscpnzkX8Yg2nAQJkQggAiivKhkUSGGywz0IwvgTxDqe1v3SRe1OX
uXrACKzYNZyVQh/B5y/P8BwkF0xTbCqRiGZ+jRdhTuuCnBULIMq6w36FB2O4kqQ3
NfYZ4qAOFcdN3iX5GhhxpU6Lv2YFcuTcnMv+kTFvek51MDbLoAdd4oS0tuXhb0UI
upLL7ncGcTkWD1kHNiOFJeKOHCZe2T6sussXjqtjDB4gArMSZCTD6fwTqITroY+P
hvs+P6mQ1KTYNyGM7kHNWPozzD/l+OieoJYujBHVHtychHfaAhMr1yl+ZpxWR4H2
6R5BZzRpQNJm8JiP0GENdH1He008z9l3bg1c+sv7sEKO4h8R0qBMgA==
=afyb
-----END PGP SIGNATURE-----