Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
44351aa0
Commit
44351aa0
authored
Jan 11, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (12832): tm6000: allow compilation of tm6000-alsa module
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
7ca30c52
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
drivers/staging/tm6000/Kconfig
drivers/staging/tm6000/Kconfig
+15
-3
drivers/staging/tm6000/Makefile
drivers/staging/tm6000/Makefile
+1
-0
drivers/staging/tm6000/tm6000-core.c
drivers/staging/tm6000/tm6000-core.c
+2
-1
No files found.
drivers/staging/tm6000/Kconfig
View file @
44351aa0
config VIDEO_TM6000
config VIDEO_TM6000
tristate "TV Master TM5600/6000 driver"
tristate "TV Master TM5600/6000/6010 driver"
depends on EXPERIMENTAL
select VIDEO_V4L2
select VIDEO_V4L2
select VIDEO_TUNER
select VIDEO_TUNER
select TUNER_XC2028
select TUNER_XC2028
select VIDEOBUF_VMALLOC
select VIDEOBUF_VMALLOC
help
help
Support for TM5600/TM6000 USB Device
Support for TM5600/TM6000
/TM6010
USB Device
Since these cards have no MPEG decoder onboard, they transmit
Since these cards have no MPEG decoder onboard, they transmit
only compressed MPEG data over the usb bus, so you need
only compressed MPEG data over the usb bus, so you need
...
@@ -13,9 +14,20 @@ config VIDEO_TM6000
...
@@ -13,9 +14,20 @@ config VIDEO_TM6000
Say Y if you own such a device and want to use it.
Say Y if you own such a device and want to use it.
config VIDEO_TM6000_ALSA
tristate "TV Master TM5600/6000/6010 audio support"
depends on VIDEO_TM6000 && SND && EXPERIMENTAL
select SND_PCM
---help---
This is a video4linux driver for direct (DMA) audio for
TM5600/TM6000/TM6010 USB Devices.
To compile this driver as a module, choose M here: the
module will be called tm6000-alsa.
config VIDEO_TM6000_DVB
config VIDEO_TM6000_DVB
bool "DVB Support for tm6000 based TV cards"
bool "DVB Support for tm6000 based TV cards"
depends on VIDEO_TM6000 && DVB_CORE
depends on VIDEO_TM6000 && DVB_CORE
&& EXPERIMENTAL
select DVB_ZL10353
select DVB_ZL10353
---help---
---help---
This adds support for DVB cards based on the tm5600/tm6000 chip.
This adds support for DVB cards based on the tm5600/tm6000 chip.
drivers/staging/tm6000/Makefile
View file @
44351aa0
...
@@ -10,5 +10,6 @@ tm6000-objs += tm6000-dvb.o \
...
@@ -10,5 +10,6 @@ tm6000-objs += tm6000-dvb.o \
endif
endif
obj-$(CONFIG_VIDEO_TM6000)
+=
tm6000.o
obj-$(CONFIG_VIDEO_TM6000)
+=
tm6000.o
obj-$(CONFIG_VIDEO_TM6000_ALSA)
+=
tm6000-alsa.o
EXTRA_CFLAGS
=
-Idrivers
/media/video
EXTRA_CFLAGS
=
-Idrivers
/media/video
drivers/staging/tm6000/tm6000-core.c
View file @
44351aa0
...
@@ -480,7 +480,7 @@ int tm6000_init (struct tm6000_core *dev)
...
@@ -480,7 +480,7 @@ int tm6000_init (struct tm6000_core *dev)
return
0
;
return
0
;
}
}
int
tm6000_set_audio_bitrate
(
struct
tm6000_core
*
dev
,
int
bitrate
)
int
tm6000_set_audio_bitrate
(
struct
tm6000_core
*
dev
,
int
bitrate
)
{
{
int
val
;
int
val
;
...
@@ -504,3 +504,4 @@ printk("Original value=%d\n",val);
...
@@ -504,3 +504,4 @@ printk("Original value=%d\n",val);
return
val
;
return
val
;
}
}
EXPORT_SYMBOL_GPL
(
tm6000_set_audio_bitrate
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment