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
This commit is contained in:
Tai-hwa Liang 2005-10-06 07:09:34 +00:00
parent 64465c6bd3
commit 11e0838887

View File

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