Commit 1ebba670 authored by Scott Alfter's avatar Scott Alfter Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (5497): Additional card support for bttv driver



SSAI (www.ssai.us) makes several Bt878-based capture cards that get used in our
surveillance, conferencing, and medical imaging systems.  The attached
relatively small patch adds support for these cards, which fall into two broad
* boards with one or more Bt878s, one or more composite inputs, and no S-video
  or tuner inputs
* boards with one Bt878, one composite input, one S-video input, and no tuner
  input

Signed-off-by: default avatarScott Alfter <salfter@ssai.us>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 4b9d4e7d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -143,3 +143,5 @@
142 -> Sabrent TV-FM (bttv version)
143 -> Hauppauge ImpactVCB (bt878)                         [0070:13eb]
144 -> MagicTV
145 -> SSAI Security Video Interface                       [4149:5353]
146 -> SSAI Ultrasound Video Interface                     [414a:5353]
+25 −0
Original line number Diff line number Diff line
@@ -291,6 +291,9 @@ static struct CARD {

	{ 0x15409511, BTTV_BOARD_ACORP_Y878F, "Acorp Y878F" },

	{ 0x53534149, BTTV_BOARD_SSAI_SECURITY, "SSAI Security Video Interface" },
	{ 0x5353414a, BTTV_BOARD_SSAI_ULTRASOUND, "SSAI Ultrasound Video Interface" },

	/* likely broken, vendor id doesn't match the other magic views ...
	 * { 0xa0fca04f, BTTV_BOARD_MAGICTVIEW063, "Guillemot Maxi TV Video 3" }, */

@@ -2907,6 +2910,28 @@ struct tvcard bttv_tvcards[] = {
		.has_radio      = 1,
		.has_remote     = 1,
	},
	[BTTV_BOARD_SSAI_SECURITY] = {
		.name		= "SSAI Security Video Interface",
		.video_inputs	= 4,
		.audio_inputs	= 0,
		.tuner		= -1,
		.svhs		= -1,
		.muxsel		= { 0, 1, 2, 3 },
		.tuner_type	= -1,
		.tuner_addr	= ADDR_UNSET,
		.radio_addr     = ADDR_UNSET,
	},
	[BTTV_BOARD_SSAI_ULTRASOUND] = {
		.name		= "SSAI Ultrasound Video Interface",
		.video_inputs	= 2,
		.audio_inputs	= 0,
		.tuner		= -1,
		.svhs		= 1,
		.muxsel		= { 2, 0, 1, 3 },
		.tuner_type	= -1,
		.tuner_addr	= ADDR_UNSET,
		.radio_addr     = ADDR_UNSET,
	},
};

static const unsigned int bttv_num_tvcards = ARRAY_SIZE(bttv_tvcards);
+2 −0
Original line number Diff line number Diff line
@@ -168,6 +168,8 @@
#define BTTV_BOARD_SABRENT_TVFM   	   0x8e
#define BTTV_BOARD_HAUPPAUGE_IMPACTVCB     0x8f
#define BTTV_BOARD_MACHTV_MAGICTV          0x90
#define BTTV_BOARD_SSAI_SECURITY	   0x91
#define BTTV_BOARD_SSAI_ULTRASOUND	   0x92

/* more card-specific defines */
#define PT2254_L_CHANNEL 0x10