Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into...
[vuplus_openembedded] / packages / powervr-drivers / libgles-omap3 / rc.pvr
1 #!/bin/sh
2
3 #rmmod bc_example
4 rmmod omaplfb
5 rmmod pvrsrvkm
6
7 insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko")
8 #modprobe bc_example
9 modprobe omaplfb
10
11 pvr_maj=`grep "pvrsrvkm$" /proc/devices | cut -b1,2,3`
12
13 if [ -e /dev/pvrsrvkm ] ; then 
14         rm -f /dev/pvrsrvkm
15 fi
16
17 mknod /dev/pvrsrvkm c $pvr_maj 0 
18
19 /usr/bin/pvrsrvinit
20