Add missing modules for intersil/prism (disabled) to core35.

This commit is contained in:
Arne Fitzenreiter
2010-01-11 23:48:05 +01:00
parent deccc8e6da
commit 11c4cfcea8
4 changed files with 32 additions and 5 deletions

View File

@@ -1 +1,2 @@
etc/modprobe.d/cfg80211
etc/modprobe.d/hostap

View File

@@ -1,2 +1,13 @@
etc/system-release
srv/web/ipfire/cgi-bin/country.cgi
etc/modprobe.d/hostap
lib/modules/2.6.27.42-ipfire/kernel/net/ieee80211/ieee80211.off
lib/modules/2.6.27.42-ipfire/kernel/net/ieee80211/ieee80211_crypt.off
lib/modules/2.6.27.42-ipfire/kernel/net/ieee80211/ieee80211_crypt_ccmp.off
lib/modules/2.6.27.42-ipfire/kernel/net/ieee80211/ieee80211_crypt_tkip.off
lib/modules/2.6.27.42-ipfire/kernel/net/ieee80211/ieee80211_crypt_wep.off
lib/modules/2.6.27.42-ipfire-xen/kernel/net/ieee80211/ieee80211.off
lib/modules/2.6.27.42-ipfire-xen/kernel/net/ieee80211/ieee80211_crypt.off
lib/modules/2.6.27.42-ipfire-xen/kernel/net/ieee80211/ieee80211_crypt_ccmp.off
lib/modules/2.6.27.42-ipfire-xen/kernel/net/ieee80211/ieee80211_crypt_tkip.off
lib/modules/2.6.27.42-ipfire-xen/kernel/net/ieee80211/ieee80211_crypt_wep.off

View File

@@ -37,8 +37,9 @@ extract_files
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
#
#Run depmod -a to rebuld module informations
depmod -a
#Run depmod to rebuld module informations
depmod 2.6.27.42-ipfire
depmod 2.6.27.42-ipfire-xen
#Finish
#Don't report the exitcode last command
exit 0

View File

@@ -86,9 +86,23 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Set Regulatory Domain to "EU" (use Channel 1-14 max. 20db)
echo options cfg80211 ieee80211_regdom=EU > /etc/modprobe.d/cfg80211
# Remove ieee80211 modules. Because the conflicts with compat-wireless
-rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/kernel/net/ieee80211
# Rename ieee80211 modules Because the conflicts with compat-wireless
-cd /lib/modules/$(KVER)-$(VERSUFIX)/kernel/net/ieee80211 && rename .ko .off *
echo # If you want to use hostap (prism drivers) > /etc/modprobe.d/hostap
echo # you must rename the ieee80211 modules. Run: >> /etc/modprobe.d/hostap
echo # cd /lib/modules/$(uname -r)/kernel/net/ieee80211 && rename .off .ko >> /etc/modprobe.d/hostap
echo # depmod -a >> /etc/modprobe.d/hostap
echo >> /etc/modprobe.d/hostap
echo # additional you need to blacklist the orinoco modules >> /etc/modprobe.d/hostap
echo # by uncommenting following lines >> /etc/modprobe.d/hostap
echo >> /etc/modprobe.d/hostap
echo #blacklist orinoco >> /etc/modprobe.d/hostap
echo #blacklist orinoco_cs >> /etc/modprobe.d/hostap
echo #blacklist orinoco_plx >> /etc/modprobe.d/hostap
echo #blacklist orinoco_pci >> /etc/modprobe.d/hostap
echo #blacklist orinoco_tmd >> /etc/modprobe.d/hostap
echo #blacklist orinoco_nortel >> /etc/modprobe.d/hostap
-rm -rf $(DIR_APP)
@$(POSTBUILD)