On Mon, 2004-12-27 at 21:04, Yinghai Lu wrote:
Ollie,
It seems that there some allocate resource for vga...stuff, and main focus is to fix the mem io to some range and enable the io for vga.
For the first one, I suggest you to create one driver for the VGA device, and it could override the read_resource of pci_read_resource to return fixed mem resource.
Then the MB Config.lb could include the "driver ....."
I am doing that now. I just haven't committed that part yet. BTW, I don't think the current compute_allocate_resource can handle the legacy vga mem resource (0xA0000-0xBFFFF) by modifying the read_resource() of either the VGA device or K8 NB. I always got strange allocation (like resources allocated near 1MB for other devices). I guess the current K8/northbridge.c is the best thing I can get.
Ollie