V4L/DVB (5497): Additional card support for bttv driver
authorScott Alfter <salfter@ssai.us>
Mon, 2 Apr 2007 17:22:39 +0000 (14:22 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:45:25 +0000 (15:45 -0300)
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: Scott Alfter <salfter@ssai.us>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Documentation/video4linux/CARDLIST.bttv
drivers/media/video/bt8xx/bttv-cards.c
drivers/media/video/bt8xx/bttv.h

index fc2fe9bc6713ff013ab0a93299975ca6d7e45ad3..b60639130a510df58f5580fb371b8dc51834cc03 100644 (file)
 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]
index 1ee0fe39237b85f82e49ec0429c2232b1879320f..6b31e50fb9513c6baa4a1ef2c86361e561446b5d 100644 (file)
@@ -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);
index 78f0eb039183278ef4bea78b344e2c9d777cf4a0..f821ba69db990b78aa6199a20ac1284c65518a54 100644 (file)
 #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