added force_pci setting in nv.settings

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8097 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-06-21 19:01:35 +00:00
parent 921d8f5ffd
commit ca483789ee
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@
Other authors:
Mark Watson;
Rudolf Cornelissen 3/2002-4/2004.
Rudolf Cornelissen 3/2002-6/2004.
*/
/* standard kernel driver stuff */
@ -264,6 +264,7 @@ static settings current_settings = { // see comments in nv.settings
false, // usebios
false, // hardcursor
false, // switchhead
false, // force_pci
};
static void dumprom (void *rom, size_t size)
@ -382,6 +383,7 @@ init_driver(void) {
current_settings.hardcursor = get_driver_boolean_parameter (settings_handle, "hardcursor", false, false);
current_settings.usebios = get_driver_boolean_parameter (settings_handle, "usebios", false, false);
current_settings.switchhead = get_driver_boolean_parameter (settings_handle, "switchhead", false, false);
current_settings.force_pci = get_driver_boolean_parameter (settings_handle, "force_pci", false, false);
unload_driver_settings (settings_handle);
}

View File

@ -18,5 +18,5 @@ hardcursor true # if true use on-chip cursor capabilities
#logmask 0xffffffff # log everything
dumprom false # dump bios rom in ~/nv.rom: probably not functional yet
switchhead false # switch head assignment (dualhead cards only)
force_pci false # block AGP mode use if true (AGP cards only)
#--------- that's all.