[PATCH] saa7134: add support for the Encore ENL-TV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
From c976999abbe1393dfa511a43cab145c17103bbdf Mon Sep 17 00:00:00 2001
From: Steven Walter <[email protected]>
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 <[email protected]>
---
 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 <[email protected]> */
+		.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


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux