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
This commit is contained in:
Dan Williams
2005-10-10 18:00:59 +00:00
parent d41e3a4244
commit 115dc5264b
8 changed files with 5 additions and 70 deletions

View File

@@ -1,3 +1,8 @@
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

View File

@@ -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)

View File

@@ -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);

View File

@@ -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
*

View File

@@ -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
*

View File

@@ -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
*

View File

@@ -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
*

View File

@@ -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
*