summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-11-29 11:09:04 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-11-29 11:09:04 +0000
commit4777d86d760261f1fd87d310adf12883d35919ef (patch)
treec7560f9aa8b590b9c5342a42078f73871fbeea32 /mdk-stage1
parentaf36ae901f00dc6b677b8642be6a3afbd249c944 (diff)
downloaddrakx-4777d86d760261f1fd87d310adf12883d35919ef.tar
drakx-4777d86d760261f1fd87d310adf12883d35919ef.tar.gz
drakx-4777d86d760261f1fd87d310adf12883d35919ef.tar.bz2
drakx-4777d86d760261f1fd87d310adf12883d35919ef.tar.xz
drakx-4777d86d760261f1fd87d310adf12883d35919ef.zip
remove unneeded handling of "alias scsi_hostadapter"
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/modules.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c
index cb5e65642..3eeed011b 100644
--- a/mdk-stage1/modules.c
+++ b/mdk-stage1/modules.c
@@ -173,7 +173,7 @@ void init_modules_insmoding(void)
static void add_modules_conf(char * str)
{
- static char data[500] = "";
+ static char data[5000] = "";
char * target = "/etc/modules.conf";
int fd;
@@ -268,17 +268,6 @@ enum insmod_return my_insmod(const char * mod_name, enum driver_type type, char
i = insmod_with_deps(mod_name, options);
if (i == 0) {
log_message("\tsucceeded %s", mod_name);
-#ifndef DISABLE_MEDIAS
- if (type == SCSI_ADAPTERS) {
- if (number_scsi > 0)
- sprintf(alias, "alias scsi_hostadapter%d %s", number_scsi, mod_name);
- else
- sprintf(alias, "alias scsi_hostadapter %s", mod_name);
- number_scsi++;
- add_modules_conf(alias);
- log_message("SCSI: %s", alias);
- }
-#endif
#ifndef DISABLE_NETWORK
if (type == NETWORK_DEVICES) {
char ** new_net_devices = get_net_devices();