summaryrefslogtreecommitdiff
path: root/packages/modutils/files/mnci
diff options
context:
space:
mode:
Diffstat (limited to 'packages/modutils/files/mnci')
-rw-r--r--packages/modutils/files/mnci/.mtn2git_empty0
-rw-r--r--packages/modutils/files/mnci/modules1
-rw-r--r--packages/modutils/files/mnci/modules-ramses1
-rw-r--r--packages/modutils/files/mnci/modules.conf20
-rwxr-xr-x[-rw-r--r--]packages/modutils/files/mnci/modutils.sh10
5 files changed, 32 insertions, 0 deletions
diff --git a/packages/modutils/files/mnci/.mtn2git_empty b/packages/modutils/files/mnci/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/modutils/files/mnci/.mtn2git_empty
diff --git a/packages/modutils/files/mnci/modules b/packages/modutils/files/mnci/modules
index e69de29bb2..e228d2e8a8 100644
--- a/packages/modutils/files/mnci/modules
+++ b/packages/modutils/files/mnci/modules
@@ -0,0 +1 @@
+sysctl
diff --git a/packages/modutils/files/mnci/modules-ramses b/packages/modutils/files/mnci/modules-ramses
index e69de29bb2..e228d2e8a8 100644
--- a/packages/modutils/files/mnci/modules-ramses
+++ b/packages/modutils/files/mnci/modules-ramses
@@ -0,0 +1 @@
+sysctl
diff --git a/packages/modutils/files/mnci/modules.conf b/packages/modutils/files/mnci/modules.conf
index e69de29bb2..310e5bb6c8 100644
--- a/packages/modutils/files/mnci/modules.conf
+++ b/packages/modutils/files/mnci/modules.conf
@@ -0,0 +1,20 @@
+alias irda0 pxa_ir
+alias usbd0 usbdmonitor
+alias usbf usb-eth
+alias sound-slot-0 pxa-ac97
+alias sound-slot-1 pxa-ac97
+
+# Affix modules
+alias net-pf-27 affix
+alias char-major-60 affix_rfcomm
+
+# BlueZ modules
+alias net-pf-31 bluez
+alias bt-proto-0 l2cap
+alias bt-proto-2 sco
+alias bt-proto-3 rfcomm
+alias bt-proto-4 bnep
+alias bt-proto-5 cmtp
+alias bt-proto-6 hidp
+alias tty-ldisc-15 hci_uart
+alias char-major-10-250 hci_vhci
diff --git a/packages/modutils/files/mnci/modutils.sh b/packages/modutils/files/mnci/modutils.sh
index e69de29bb2..378915c270 100644..100755
--- a/packages/modutils/files/mnci/modutils.sh
+++ b/packages/modutils/files/mnci/modutils.sh
@@ -0,0 +1,10 @@
+depmod -Ae
+
+(cat /etc/modules; echo; ) |
+while read module args
+do
+ case "$module" in
+ \#*|"") continue ;;
+ esac
+ modprobe $module $args
+done