added support for noload=module1,module2.. command line

This commit is contained in:
Anton V. Boyarshinov 2007-07-24 14:51:48 +04:00
parent dc917225da
commit be662de749
2 changed files with 11 additions and 1 deletions

View File

@ -251,6 +251,11 @@ static void pci_probe(enum driver_type type)
if (pcidb->vendor == vendor && pcidb->device == device) {
/* vendor & device matched */
log_message("(pcimap) module is \"%s\"", pcidb->module);
if( get_param_valued("noload") && strstr(get_param_valued("noload"),pcidb->module)) {
log_message("not loading due to 'noload=' \"%s\"", pcidb->module);
continue;
}
#ifndef DISABLE_MEDIAS
if (type == IDE_ADAPTERS || type == SCSI_ADAPTERS || type == RAID_ADAPTERS) {
int wait_msg = 0;

View File

@ -3,7 +3,7 @@
Name: propagator
Version: 20070301
Release: alt5
Release: alt5.1
Summary: 'Early userspace' set of binaries
License: GPL
@ -11,6 +11,8 @@ Group: System/Kernel and hardware
Source0: %name-%version.tar.bz2
Packager: Sergey Bolshakov <sbolshakov@altlinux.org>
BuildRequires: mar >= 20070301-alt1 bzlib-devel-static libnewt-devel-static libslang-devel-static
%description
@ -32,6 +34,9 @@ make %{?_with_shell:WITH_SHELL=t} %{?_with_splash:WITH_SPLASH=t} \
%_libdir/%name
%changelog
* Tue Jul 24 2007 Anton V. Boyarshinov <boyarsh@altlinux.ru> 20070301-alt5.1
- added support for noload=module1,module2.. command line
* Wed Jul 18 2007 Sergey Bolshakov <sbolshakov@altlinux.ru> 20070301-alt5
- fixed crash when splashcount used, closes \#12365