summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/modules.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-11 22:48:37 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-11 22:48:37 +0000
commita362aa0eaba743533a647efe1be718faa3fcac88 (patch)
treefa1059e9cde2c2fdaabd07d9fbb41b9e8d107266 /mdk-stage1/modules.h
parentb12399dd1e6beaa950e8d53b11e3a41648693c29 (diff)
downloaddrakx-backup-do-not-use-a362aa0eaba743533a647efe1be718faa3fcac88.tar
drakx-backup-do-not-use-a362aa0eaba743533a647efe1be718faa3fcac88.tar.gz
drakx-backup-do-not-use-a362aa0eaba743533a647efe1be718faa3fcac88.tar.bz2
drakx-backup-do-not-use-a362aa0eaba743533a647efe1be718faa3fcac88.tar.xz
drakx-backup-do-not-use-a362aa0eaba743533a647efe1be718faa3fcac88.zip
polish generic blank.img situation (no modules and/or modules.dep available)
Diffstat (limited to 'mdk-stage1/modules.h')
-rw-r--r--mdk-stage1/modules.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdk-stage1/modules.h b/mdk-stage1/modules.h
index db90d832d..74ecc8a57 100644
--- a/mdk-stage1/modules.h
+++ b/mdk-stage1/modules.h
@@ -18,9 +18,8 @@
#include "stage1.h"
#include "probing.h"
-int load_modules_dependencies(void);
+void init_modules_insmoding(void);
int my_insmod(const char * mod_name, enum driver_type type, char * options);
-
enum return_type ask_insmod(enum driver_type);
160'>160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
package Xconfig::main; # $Id$

use diagnostics;
use strict;

use Xconfig::monitor;
use Xconfig::card;
use Xconfig::resolution_and_depth;
use Xconfig::various;
use Xconfig::screen;
use Xconfig::test;
use common;
use any;


sub configure_monitor {
    my ($in, $raw_X) = @_;

    Xconfig::monitor::configure($in, $raw_X) or return;
    $raw_X->write;
    'config_changed';
}

sub configure_resolution {
    my ($in, $raw_X) = @_;

    my $card = Xconfig::card::from_raw_X($raw_X);
    my $monitor = Xconfig::monitor::from_raw_X($raw_X);
    Xconfig::resolution_and_depth::configure($in, $raw_X, $card, $monitor) or return;
    $raw_X->write;