From fb8303eab6a8aaf44b8b66eb3406ce3335dd888d Mon Sep 17 00:00:00 2001 From: avatar Date: Thu, 6 Oct 2005 07:09:34 +0000 Subject: Fixing a boot time panic(when if_fwip is compiled into kernel) by renaming module name to something that wouldn't conflict with sys/dev/firewire/firewire.c. Submitted by: Cai, Quanqing PR: kern/82727 MFC after: 3 days --- sys/net/if_fwsubr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/net/if_fwsubr.c') diff --git a/sys/net/if_fwsubr.c b/sys/net/if_fwsubr.c index b08ed6a..a3afd39 100644 --- a/sys/net/if_fwsubr.c +++ b/sys/net/if_fwsubr.c @@ -850,10 +850,10 @@ firewire_modevent(module_t mod, int type, void *data) } static moduledata_t firewire_mod = { - "firewire", + "if_firewire", firewire_modevent, 0 }; -DECLARE_MODULE(firewire, firewire_mod, SI_SUB_INIT_IF, SI_ORDER_ANY); -MODULE_VERSION(firewire, 1); +DECLARE_MODULE(if_firewire, firewire_mod, SI_SUB_INIT_IF, SI_ORDER_ANY); +MODULE_VERSION(if_firewire, 1); -- cgit v1.1