diff options
author | avatar <avatar@FreeBSD.org> | 2005-10-06 07:09:34 +0000 |
---|---|---|
committer | avatar <avatar@FreeBSD.org> | 2005-10-06 07:09:34 +0000 |
commit | fb8303eab6a8aaf44b8b66eb3406ce3335dd888d (patch) | |
tree | 5be2eb3162996d58b8abe134c1747a68eee53f59 /sys | |
parent | 454f50d5c22719c06cec51c14333cde99ee1e96a (diff) | |
download | FreeBSD-src-fb8303eab6a8aaf44b8b66eb3406ce3335dd888d.zip FreeBSD-src-fb8303eab6a8aaf44b8b66eb3406ce3335dd888d.tar.gz |
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 <caiquanqing at gmail dot com>
PR: kern/82727
MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_fwsubr.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |