On Thu, 2004-10-21 at 13:24, YhLu wrote:
Why just set subsystem id, in amd_8111.c enable_dev function?
That would more easy.
Need one switch case to figure out different reg position.
??? I am talking about the K8 MTRR stuff I need to support VGA BIOS in LinuxBIOS. It has to be done based on what CPU we are running and if there is any VGA device in the system.
Ollie
Regards
YH
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Thursday, October 21, 2004 11:18 AM To: Eric W. Biederman Cc: YhLu; 'Ronald G. Minnich'; 'LinuxBIOS' Subject: Re: FYI: Merge in progress...
On Thu, 2004-10-21 at 12:00, Eric W. Biederman wrote:
At this point we should be able to look at the device tree and see if we need to use and io range register or the RdRam WrDram bits.
Are you talking somthing in my mind ? I hope in the mtrr.c for K8 instead of hack with the mem_map we have:
setup_mtrr() { if (search_for_vga_device_on_the_tree() == FOUND) { enable_rd_wr_mem_in_fixed_mtrr(); clear_rd_wr_mem_for_legacy_vga_buffer(); set_IORR_to_AGP_aperture(); } else { disable_rd_wr_mem(); }
do_some_other_thigs(); }
And the code is executed on each processors.
Ollie