From patchwork Tue May 19 12:51:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 24708 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4JCpibK024292 for ; Tue, 19 May 2009 12:51:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752060AbZESMvl (ORCPT ); Tue, 19 May 2009 08:51:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752064AbZESMvl (ORCPT ); Tue, 19 May 2009 08:51:41 -0400 Received: from web110803.mail.gq1.yahoo.com ([67.195.13.226]:44677 "HELO web110803.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752060AbZESMvk (ORCPT ); Tue, 19 May 2009 08:51:40 -0400 Received: (qmail 95925 invoked by uid 60001); 19 May 2009 12:51:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1242737502; bh=T6XVMpE9MPhyuWymxs4pnt7fjYKa5s/Qm5KF8YjNPJM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=H1rf9zcnZ9V0MLAvoT/N9B+sKuM0zOif+ChkNB5UbZ1tkVaCvX63dXctKpLL75mwSGEJnuQ0PxcVw75IKa4hSmR4xXt2JuKCmCV47dSAqBbMfJgu5B16TbvNgVx45K3jXgncaLqxzAJuxW13N7nZGSYmXU32fY5J0XUGkS7FCTI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=NajvkX515CVXrD7RGo1jy0IXCKPbnnTw9HtWmR2Yvi1h6R3+FMSoduoaErivYVYiyVmnm5Y1QL9zw/PIa/3rSxooEAd7aEyV6yrIS3X2SS+ORt2q74gHhDCXVDXeLXPu6/EjuIQ+TxifH/FnRnL31cJT061ZOibgc8y05PYUjfI=; Message-ID: <176275.71324.qm@web110803.mail.gq1.yahoo.com> X-YMail-OSG: b3O3VXwVM1nZ0Rtc5P0z1jxBOawbYv0avlocAuOGKvPNPPH658wpS9MFT2nZBeanx.vGQEijsgrBUf4CIQbFajrc3uPVAFJAgbLoJeD8vE2WJrnqBED8OcglXdlPDdhUpYV8yPEXHVSAUtWRth483mbq9CbGqsu70_eA2KfTKd7NEDeP9H0LdVvmhaQfva_VU8JyE_LbtFLpy3dIMx4MWL_TAF__KCgekjxuDRrK4s9hFW8Pz_.oegULxxQZ8_TYPfnf4a8Mg1Zf__8tVZpVIJ3HmrzDVOZhqIeXUx97zeNOV7laLeyqfaZYqprujgELwkokMRQUb9R2j7vTZZvBnwD03CLlWjfVJhlW998NE6U_4ReD819rjLyung-- Received: from [199.203.99.233] by web110803.mail.gq1.yahoo.com via HTTP; Tue, 19 May 2009 05:51:41 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Tue, 19 May 2009 05:51:41 -0700 (PDT) From: Uri Shkolnik Subject: [PATCH] [09051_42] Siano: cards - add two additional (USB) devices To: LinuxML MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org # HG changeset patch # User Uri Shkolnik # Date 1242737787 -10800 # Node ID f8e348f2f312e23c42b263738d555221fba844b2 # Parent c405857480bae1fa471dedc6fe86c4a897edd696 [09051_42] Siano: cards - add two additional (USB) devices From: Uri Shkolnik Add two additional USB targets, add these to the 'cards' modules and to the 'smsusb' module. Priority: normal Signed-off-by: Uri Shkolnik --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -r c405857480ba -r f8e348f2f312 linux/drivers/media/dvb/siano/sms-cards.c --- a/linux/drivers/media/dvb/siano/sms-cards.c Tue May 19 15:48:20 2009 +0300 +++ b/linux/drivers/media/dvb/siano/sms-cards.c Tue May 19 15:56:27 2009 +0300 @@ -84,6 +84,16 @@ static struct sms_board sms_boards[] = { .type = SMS_NOVA_B0, .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-hcw-55xxx-dvbt-02.fw", .lna_ctrl = -1, + }, + [SMS1XXX_BOARD_SIANO_NICE] = { + /* 11 */ + .name = "Siano Nice Digital Receiver", + .type = SMS_NOVA_B0, + }, + [SMS1XXX_BOARD_SIANO_VENICE] = { + /* 12 */ + .name = "Siano Venice Digital Receiver", + .type = SMS_VEGA, }, }; diff -r c405857480ba -r f8e348f2f312 linux/drivers/media/dvb/siano/sms-cards.h --- a/linux/drivers/media/dvb/siano/sms-cards.h Tue May 19 15:48:20 2009 +0300 +++ b/linux/drivers/media/dvb/siano/sms-cards.h Tue May 19 15:56:27 2009 +0300 @@ -35,6 +35,8 @@ #define SMS1XXX_BOARD_HAUPPAUGE_WINDHAM 8 #define SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD 9 #define SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2 10 +#define SMS1XXX_BOARD_SIANO_NICE 11 +#define SMS1XXX_BOARD_SIANO_VENICE 12 struct sms_board_gpio_cfg { int lna_vhf_exist; diff -r c405857480ba -r f8e348f2f312 linux/drivers/media/dvb/siano/smsusb.c --- a/linux/drivers/media/dvb/siano/smsusb.c Tue May 19 15:48:20 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smsusb.c Tue May 19 15:56:27 2009 +0300 @@ -531,8 +531,13 @@ struct usb_device_id smsusb_id_table[] = .driver_info = SMS1XXX_BOARD_HAUPPAUGE_WINDHAM }, { USB_DEVICE(0x2040, 0x5590), .driver_info = SMS1XXX_BOARD_HAUPPAUGE_WINDHAM }, - { } /* Terminating entry */ -}; + { USB_DEVICE(0x187f, 0x0202), + .driver_info = SMS1XXX_BOARD_SIANO_NICE }, + { USB_DEVICE(0x187f, 0x0301), + .driver_info = SMS1XXX_BOARD_SIANO_VENICE }, + { } /* Terminating entry */ + }; + MODULE_DEVICE_TABLE(usb, smsusb_id_table); static struct usb_driver smsusb_driver = {