Skip to content

Commit 3d6c2bc

Browse files
author
Mauro Carvalho Chehab
committed
[media] dvb: move the dvb core one level up
just like the V4L2 core, move the DVB core to drivers/media, as the intention is to get rid of both "video" and "dvb" directories. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 parent 5bc3cb7 commit 3d6c2bc

62 files changed

Lines changed: 68 additions & 65 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/media/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ source "drivers/media/radio/Kconfig"
161161
# DVB adapters
162162
#
163163

164+
source "drivers/media/dvb-core/Kconfig"
164165
source "drivers/media/dvb/Kconfig"
165166

166167
endif # MEDIA_SUPPORT

‎drivers/media/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ endif
1111
obj-y += v4l2-core/ common/ rc/ video/
1212

1313
obj-$(CONFIG_VIDEO_DEV) += radio/
14-
obj-$(CONFIG_DVB_CORE) += dvb/
14+
obj-$(CONFIG_DVB_CORE) += dvb-core/ dvb/

‎drivers/media/common/tuners/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ obj-$(CONFIG_MEDIA_TUNER_FC0011) += fc0011.o
3333
obj-$(CONFIG_MEDIA_TUNER_FC0012) += fc0012.o
3434
obj-$(CONFIG_MEDIA_TUNER_FC0013) += fc0013.o
3535

36-
ccflags-y += -I$(srctree)/drivers/media/dvb/dvb-core
36+
ccflags-y += -I$(srctree)/drivers/media/dvb-core
3737
ccflags-y += -I$(srctree)/drivers/media/dvb/frontends

‎drivers/media/dvb-core/Kconfig‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# DVB device configuration
3+
#
4+
5+
config DVB_MAX_ADAPTERS
6+
int "maximum number of DVB/ATSC adapters"
7+
depends on DVB_CORE
8+
default 8
9+
range 1 255
10+
help
11+
Maximum number of DVB/ATSC adapters. Increasing this number
12+
increases the memory consumption of the DVB subsystem even
13+
if a much lower number of DVB/ATSC adapters is present.
14+
Only values in the range 4-32 are tested.
15+
16+
If you are unsure about this, use the default value 8
17+
18+
config DVB_DYNAMIC_MINORS
19+
bool "Dynamic DVB minor allocation"
20+
depends on DVB_CORE
21+
default n
22+
help
23+
If you say Y here, the DVB subsystem will use dynamic minor
24+
allocation for any device that uses the DVB major number.
25+
This means that you can have more than 4 of a single type
26+
of device (like demuxes and frontends) per adapter, but udev
27+
will be required to manage the device nodes.
28+
29+
If you are unsure about this, say N here.
File renamed without changes.

0 commit comments

Comments
 (0)