mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 08:30:37 -04:00
already in its rc.d script. [1] Don't list entries twice, set some more details about storage devices like the linux backend does. [2] PR: ports/171568 [1] PR: ports/171727 [2] Submitted by: Norbert Koch <nkoch@demig.de> [1], avilla@ [2] Reviewed by: marcus@
15 lines
520 B
C
15 lines
520 B
C
--- 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;
|