Commit 115dc526 authored by Dan Williams's avatar Dan Williams
Browse files

2005-10-10 Dan Williams <dcbw@redhat.com>

	* Remove nm_system_load_device_modules() from backend files
		and from NetworkManager.c


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1014 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent d41e3a42
2005-10-10 Dan Williams <dcbw@redhat.com>
* Remove nm_system_load_device_modules() from backend files
and from NetworkManager.c
2005-10-10 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
......
......@@ -887,14 +887,6 @@ int main( int argc, char *argv[] )
nm_system_init();
/* Load all network device kernel modules.
* NOTE: this hack is temporary until device modules get loaded
* on startup by something else. The problem is that unless
* the module is loaded, HAL doesn't know its a network device,
* and therefore can't tell us about it.
*/
nm_system_load_device_modules ();
/* Initialize our instance data */
nm_data = nm_data_new (enable_test_devices);
if (!nm_data)
......
......@@ -51,7 +51,6 @@ void nm_system_delete_default_route (void);
void nm_system_flush_arp_cache (void);
void nm_system_kill_all_dhcp_daemons (void);
void nm_system_update_dns (void);
void nm_system_load_device_modules (void);
void nm_system_restart_mdns_responder (void);
void nm_system_device_add_ip6_link_address (NMDevice *dev);
......
......@@ -360,18 +360,6 @@ void nm_system_update_dns (void)
}
/*
* nm_system_load_device_modules
*
* This is a null op - all our drivers should already be loaded.
*
*/
void nm_system_load_device_modules (void)
{
return;
}
/*
* nm_system_restart_mdns_responder
*
......
......@@ -236,20 +236,6 @@ void nm_system_update_dns (void)
#endif
}
/*
* nm_system_load_device_modules
*
* Loads any network adapter kernel modules, these should already be loaded
* by /etc/modules.autoload.d/kernel-2.x
*
* Gentoo should have all modules loaded.
*/
void nm_system_load_device_modules (void)
{
}
/*
* nm_system_restart_mdns_responder
*
......
......@@ -282,19 +282,6 @@ void nm_system_update_dns (void)
}
/*
* nm_system_load_device_modules
*
* Load any network adapter kernel modules that we need to, since Fedora doesn't
* autoload them at this time.
*
*/
void nm_system_load_device_modules (void)
{
nm_spawn_process ("/usr/bin/NMLoadModules");
}
/*
* nm_system_restart_mdns_responder
*
......
......@@ -164,17 +164,6 @@ void nm_system_update_dns (void)
}
/*
* nm_system_load_device_modules
*
* These should already be loaded
*
*/
void nm_system_load_device_modules (void)
{
}
/*
* nm_system_restart_mdns_responder
*
......
......@@ -275,17 +275,6 @@ void nm_system_update_dns (void)
}
/*
* nm_system_load_device_modules
*
* Load any network adapter kernel modules that we need.
*
*/
void nm_system_load_device_modules (void)
{
}
/*
* nm_system_restart_mdns_responder
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment