summaryrefslogtreecommitdiff
path: root/sysutils/hal/files/patch-hald_freebsd_hf-drm.c
blob: dbde83cceef1da7228f1d19c1bff50e24fb693d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- hald/freebsd/hf-drm.c.orig	2008-08-10 15:50:10.000000000 +0200
+++ hald/freebsd/hf-drm.c	2012-09-27 12:04:28.000000000 +0200
@@ -234,6 +234,12 @@
   {
     HalDevice *parent = HAL_DEVICE(l->data);
 
+    if (hf_device_store_match(hald_get_gdl(),
+			      "info.parent", HAL_PROPERTY_TYPE_STRING, hal_device_get_udi(parent),
+			      "info.subsystem", HAL_PROPERTY_TYPE_STRING, "drm",
+			      NULL))
+      continue;
+
     if (! hal_device_property_get_bool(parent, "info.ignore"))
       {
         Card *card;