使用insmod的话,如果之前没有加载igs.ko && emf.ko,则会报错
/lib/modules # cat modules.dep | grep 'wl.ko'
/lib/modules/2.6.36.4brcmarm/kernel/drivers/net/wl.ko: /lib/modules/2.6.36.4brcmarm/kernel/drivers/net/igs.ko /lib/modules/2.6.36.4brcmarm/kernel/drivers/net/emf.ko
/lib/modules # ls
2.6.36.4brcmarm modules.dep
/lib/modules #
insmod drv.ko
modprob drv
/lib/modules/2.6.36.4brcmarm/kernel/drivers/net # ls
bonding ctf.ko emf.ko et.ko igs.ko mii.ko tun.ko usb wl.ko
/lib/modules/2.6.36.4brcmarm/kernel/drivers/net # insmod wl.ko
insmod: can't insert 'wl.ko': File exists
/lib/modules/2.6.36.4brcmarm/kernel/drivers/net # modprobe wl
/lib/modules/2.6.36.4brcmarm/kernel/drivers/net # lsmod
Module Size Used by Tainted: P
nf_nat_sip 5586 0
nf_conntrack_sip 16679 1 nf_nat_sip
nf_nat_h323 5137 0
nf_conntrack_h323 34844 1 nf_nat_h323
nf_nat_rtsp 3400 0
nf_conntrack_rtsp 4268 1 nf_nat_rtsp
nf_nat_ftp 1314 0
nf_conntrack_ftp 5131 1 nf_nat_ftp
ip6table_filter 893 0
ip6table_mangle 1093 0
jffs2 94871 1
zlib_deflate 19990 1 jffs2
nf_nat_pptp 1796 0
nf_conntrack_pptp 3739 1 nf_nat_pptp
nf_nat_proto_gre 1047 1 nf_nat_pptp
nf_conntrack_proto_gre 3499 1 nf_conntrack_pptp
wl 3981441 0
igs 12935 1 wl
emf 16346 2 wl,igs
et 64008 0
ctf 17519 0
/lib/modules/2.6.36.4brcmarm/kernel/drivers/net # rmmod wl
/lib/modules/2.6.36.4brcmarm/kernel/drivers/net # modprobe wl
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
eth1: Broadcom BCM4360 802.11 Wireless Controller 6.37.14.86 (r456083)
hotplug net INTERFACE=eth1 ACTION=add
eth2: Broadcom BCM4360 802.11 Wireless Controller 6.37.14.86 (r456083)