File: hotplug_mod_params

package info (click to toggle)
dahdi-linux 1%3A2.11.1.0.20170917~dfsg-7.4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 10,336 kB
  • sloc: ansic: 125,072; perl: 2,395; sh: 1,140; makefile: 427; xml: 24
file content (17 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Description: use hotplug mode ("pinned spans") by default

Disable automatic span assignment. Span assignment should be done by
userspace udev hooks.

--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -7369,7 +7369,7 @@ int dahdi_assign_device_spans(struct dah
 	return 0;
 }
 
-static int auto_assign_spans = 1;
+static int auto_assign_spans = 0;
 static const char *UNKNOWN = "";
 
 /**