summaryrefslogtreecommitdiff
path: root/packages/powervr-drivers/libgles-omap3/rc.pvr
blob: 7c23603280bbb48913edde57514a539f547b3b60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

rmmod bc_example
rmmod omaplfb
rmmod pvrsrvkm

insmod $(find /lib/modules/$(uname -r) -name "pvrsrvkm.ko")
modprobe -f bc_example
modprobe -f omaplfb

pvr_maj=`grep "pvrsrvkm$" /proc/devices | cut -b1,2,3`

if [ -e /dev/pvrsrvkm ] ; then 
	rm -f /dev/pvrsrvkm
fi

mknod /dev/pvrsrvkm c $pvr_maj 0 

/usr/bin/pvrsrvinit