From: Glenn H. <gh...@c2...> - 2001-02-11 20:00:14
|
On 11-Feb-01, Michel wrote: > Glenn Hisdal wrote: >> I found an error in apus_pci.c > Thanks for the fix! (Next time please provide a diff (cvs does it) instead > of just the fixed code, that makes it easier for us to spot the changes) ok. I'll try to do that. How does diff work ? I don't know the correct options to create a diff file... >> The glint driver for XFree86 runs fine. There is no corruption on the >> console after exiting X like it was in 2.4.0-test10. > So everything is fine now basically? :) Maybe. Exiting X quite often hangs the system completely. I don't know if that's our fault or an error in the glint driver. I haven't had any crashes when I only use FBDev, but maybe that's just luck as I use glint most of the time... Also: the color in console sometimes is wrong after exiting X. Switching consoles brings it back to normal. >> PCI: Calling quirk c000b8f0 for 00:01.0 > Do you have PCI quirks enabled in your .config? ??? I can't find any option for that... >> PCI: Resource ef000000-ef01ffff (f=200, d=0, p=0) >> PCI: Cannot allocate resource region 0 of device 00:01.0 >> PCI: Resource e0000000-e07fffff (f=200, d=0, p=0) >> PCI: Cannot allocate resource region 1 of device 00:01.0 >> PCI: Resource e1000000-e17fffff (f=200, d=0, p=0) >> PCI: Cannot allocate resource region 2 of device 00:01.0 I have managed to remove these errors. I'll try to make a diff... basically I added the line bus->resource[1] = &pci_mem; to the end of apus_pcibios_fixup_bus(...) (as done in chrp_pci.c) I also moved the request_resource code that you added up to apus_pcibios_fixup() to make it look more similar to chrp_pci.c, but that wasn't really needed, I guess. >> PCI devices found: >> Bus 0, device 1, function 0: >> Display controller: Texas Instruments TVP4020 [Permedia 2] (rev 1). >> Master Capable. Latency=255. Min Gnt=192.Max Lat=192. >> Non-prefetchable 32 bit memory at 0x10000000 [0x1001ffff]. >> Non-prefetchable 32 bit memory at 0x11000000 [0x11ffffff]. >> Non-prefetchable 32 bit memory at 0x10800000 [0x10ffffff]. >> Prefetchable 64 bit memory at 0x3d071040 [0x3d07107f]. > The last line here looks suspicious to me ('prefetchable 64 bit memory'?). Yes, don't know where it came from. It's not there anymore... - glenn |