LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] saa7134: add support for the Encore ENL-TV
@ 2006-12-06 4:46 Steven Walter
0 siblings, 0 replies; only message in thread
From: Steven Walter @ 2006-12-06 4:46 UTC (permalink / raw)
To: kraxel; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
This patch adds a board definition for the Encore ENL-TV card, and
adds its PCI subdevice to the ID table. Patch is output from
git-format-patch against Linus' git tree.
Please let me know if there are any deficiencies in this submission.
--
-Steven Walter <stevenrwalter@gmail.com>
[-- Attachment #2: 0001-Add-support-for-the-Encore-ENL-TV-to-saa7134.txt --]
[-- Type: text/plain, Size: 2436 bytes --]
From c976999abbe1393dfa511a43cab145c17103bbdf Mon Sep 17 00:00:00 2001
From: Steven Walter <stevenrwalter@gmail.com>
Date: Tue, 5 Dec 2006 23:41:55 -0500
Subject: [PATCH] [PATCH] Add support for the Encore ENL-TV to saa7134
Create a board definition for the ENL-TV, and add its subdevice ID to the
table.
Signed-off-by: Steven Walter <stevenrwalter@gmail.com>
---
drivers/media/video/saa7134/saa7134-cards.c | 24 ++++++++++++++++++++++++
drivers/media/video/saa7134/saa7134.h | 1 +
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c
index 51f0cfd..dd3758a 100644
--- a/drivers/media/video/saa7134/saa7134-cards.c
+++ b/drivers/media/video/saa7134/saa7134-cards.c
@@ -3022,6 +3022,24 @@ struct saa7134_board saa7134_boards[] =
.amux = LINE1,
},
},
+ [SAA7134_BOARD_ENCORE_ENLTV] = {
+ /* Steven Walter <stevenrwalter@gmail.com> */
+ .name = "Encore ENLTV",
+ .tuner_type = TUNER_TNF_5335MF,
+ .radio_type = UNSET,
+ .tuner_addr = ADDR_UNSET,
+ .radio_addr = ADDR_UNSET,
+ .inputs = {{
+ .name = name_tv,
+ .vmux = 1,
+ .amux = LINE2,
+ .tv = 1,
+ },{
+ .name = name_svideo,
+ .vmux = 6,
+ .amux = LINE1,
+ }},
+ },
};
const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
@@ -3631,6 +3649,12 @@ struct pci_device_id saa7134_pci_tbl[] =
.subdevice = 0x4860,
.driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
},{
+ .vendor = PCI_VENDOR_ID_PHILIPS,
+ .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
+ .subvendor = PCI_VENDOR_ID_PHILIPS,
+ .subdevice = 0x2342,
+ .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
+ },{
/* --- boards without eeprom + subsystem ID --- */
.vendor = PCI_VENDOR_ID_PHILIPS,
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index 7cf96b4..8ee165a 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -227,6 +227,7 @@ #define SAA7134_BOARD_FLYDVBS_LR300 97
#define SAA7134_BOARD_PROTEUS_2309 98
#define SAA7134_BOARD_AVERMEDIA_A16AR 99
#define SAA7134_BOARD_ASUS_EUROPA2_HYBRID 100
+#define SAA7134_BOARD_ENCORE_ENLTV 101
#define SAA7134_MAXBOARDS 8
#define SAA7134_INPUT_MAX 8
--
1.4.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-06 4:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-06 4:46 [PATCH] saa7134: add support for the Encore ENL-TV Steven Walter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).