summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yocto-bsp/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh')
-rw-r--r--meta-yocto-bsp/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-yocto-bsp/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh b/meta-yocto-bsp/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh
index 0c7b3aa14f..75cda99f54 100644
--- a/meta-yocto-bsp/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh
+++ b/meta-yocto-bsp/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh
@@ -2,6 +2,10 @@
2 2
3# Check for devices we wish to avoid gma500_gfx for 3# Check for devices we wish to avoid gma500_gfx for
4DEVICES="0x8119 0x4108" 4DEVICES="0x8119 0x4108"
5
6# Checked flag to avoid infinite modprobe
7echo "gma500_gfx_checked" >> /dev/kmsg;
8
5for DEVICE in $DEVICES; do 9for DEVICE in $DEVICES; do
6 if udevadm trigger --subsystem-match=pci --verbose --attr-match=device=$DEVICE | grep "pci" >> /dev/null ; then 10 if udevadm trigger --subsystem-match=pci --verbose --attr-match=device=$DEVICE | grep "pci" >> /dev/null ; then
7 echo "Found $DEVICE, avoiding gma500_gfx module" >> /dev/kmsg; 11 echo "Found $DEVICE, avoiding gma500_gfx module" >> /dev/kmsg;