mem limit decreased to 124M
chatty net probing fixed
This commit is contained in:
parent
9e461d6942
commit
d887ddf00f
@ -19,7 +19,7 @@
|
||||
#include "version.h"
|
||||
|
||||
/* If we have more than that amount of memory (in Mbytes), we assume we can load the second stage as a ramdisk */
|
||||
#define MEM_LIMIT_RAMDISK 150
|
||||
#define MEM_LIMIT_RAMDISK 124
|
||||
|
||||
/* If we have more than that amount of memory (in Mbytes), we assume we can load the rescue as a ramdisk */
|
||||
#define MEM_LIMIT_RESCUE 56
|
||||
|
14
probing.c
14
probing.c
@ -263,9 +263,19 @@ static void pci_probe(enum driver_type type)
|
||||
#endif /* DISABLE_MEDIAS */
|
||||
#ifndef DISABLE_NETWORK
|
||||
if (type == NETWORK_DEVICES) {
|
||||
stg1_info_message("About to load driver for network device: %s", pcidb->module);
|
||||
int wait_msg = 0;
|
||||
enum insmod_return failed;
|
||||
if (IS_AUTOMATIC) {
|
||||
wait_message("Loading driver for network device: %s", pcidb->module);
|
||||
wait_msg = 1;
|
||||
} else
|
||||
stg1_info_message("About to load driver for network device: %s",
|
||||
pcidb->module);
|
||||
prepare_intf_descr(pcidb->module);
|
||||
warning_insmod_failed(my_insmod(pcidb->module, NETWORK_DEVICES, NULL));
|
||||
failed = my_insmod(pcidb->module, NETWORK_DEVICES, NULL);
|
||||
if (wait_msg)
|
||||
remove_wait_message();
|
||||
warning_insmod_failed(failed);
|
||||
if (intf_descr_for_discover) /* for modules providing more than one net intf */
|
||||
net_discovered_interface(NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user