From patchwork Sun Apr 5 08:12:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 16396 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 n358D0rP015586 for ; Sun, 5 Apr 2009 08:13:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758013AbZDEIMz (ORCPT ); Sun, 5 Apr 2009 04:12:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758118AbZDEIMy (ORCPT ); Sun, 5 Apr 2009 04:12:54 -0400 Received: from web110814.mail.gq1.yahoo.com ([67.195.13.237]:42884 "HELO web110814.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1758013AbZDEIMx (ORCPT ); Sun, 5 Apr 2009 04:12:53 -0400 Received: (qmail 51312 invoked by uid 60001); 5 Apr 2009 08:12:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1238919171; bh=fxwXq/PyTFWE9oY5tFhkRvn31X1cye8Fk9XlyJjSieU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=X1XSRoV5CHBDpBNHl6C8dudCwP1C2QO1tv/NyWBt/BGwa0YVUM++cMgXvN7xzIbQbxVUhkNpfYMor8eOseloO1o4FZ+4AKZl3KUetNO02XO0IM5au/E3Mi/4QremLYtu8dCjJ/x2iyhaTlXQbOc6j5J1Wtixxa/WxFxO4dk17rA= 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=N21EBEot8HVQAZUKJsMnrDgrDFxrZT9LhgDnqdm8c+CdRonC0vyN/YNZt9Pd/rVBz5oOVpst6l8iVvrlk7hjCsSTqJ+rwWtlUa3agKeIfDiPnqXvOgpWhJ6sYC610mZi7Cy3RZrrOdTxcqCZYSFg8n0wPDQjNbeNPtyiVpXZOWY=; Message-ID: <635462.50750.qm@web110814.mail.gq1.yahoo.com> X-YMail-OSG: DP.Z8YsVM1mjNDOXhzMZa9i22Obl0YcGQL8IeCEN2ACWGO00NPgjf_wQL4QjoGebxl8SDFBK0nm5BU7GMz3W5a2DXUvjGZwOFPFyuj591fdCtbvwzvZXD.AoJgLHtMnPKgtA6.mm1Misl9pmDvdYgFBOaiFl9qpg4RhseUhEequn11VTWQXPVKL0PRA6cj11JZsu2XZr552Zl_EoQeZ2WEq3wyvfy6snUmemFFEg4firuMoSuAbABGDoww00UKjelWaDJ9Hd7jjf2vjme97UqDmkA1YdlWJBdRKfNRgCSZLvt6L9SmRlm0qFbRpBURDSTZ3MvU2u9oyhxPcf2A45kmFwtIWn9k34m1ASw20B Received: from [199.203.99.233] by web110814.mail.gq1.yahoo.com via HTTP; Sun, 05 Apr 2009 01:12:51 PDT X-Mailer: YahooMailClassic/5.2.15 YahooMailWebService/0.7.289.1 Date: Sun, 5 Apr 2009 01:12:51 -0700 (PDT) From: Uri Shkolnik Subject: [PATCH] [0904_2] Siano: core header - add definitions and structures 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 1238690859 -10800 # Node ID 05cf6606192642241ff25a152e249118cb8a129b # Parent c3f0f50d46058f07fb355d8e5531f35cfd0ca37e [PATCH] [0904_2] Siano: core header - add definitions and structures From: Uri Shkolnik Add new definitions (of Siano's protocol messages), and protocol structures (for future commits usage) 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 c3f0f50d4605 -r 05cf66061926 linux/drivers/media/dvb/siano/smscoreapi.h --- a/linux/drivers/media/dvb/siano/smscoreapi.h Thu Apr 02 19:32:10 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smscoreapi.h Thu Apr 02 19:47:39 2009 +0300 @@ -55,6 +55,7 @@ along with this program. If not, see msgType = type; (ptr)->msgSrcId = src; (ptr)->msgDstId = dst; \ @@ -206,6 +215,15 @@ struct smsclient_params_t { } while (0) #define SMS_INIT_MSG(ptr, type, len) \ SMS_INIT_MSG_EX(ptr, type, 0, HIF_TASK, len) +enum SMS_DVB3_EVENTS { + DVB3_EVENT_INIT = 0, + DVB3_EVENT_SLEEP, + DVB3_EVENT_HOTPLUG, + DVB3_EVENT_FE_LOCK, + DVB3_EVENT_FE_UNLOCK, + DVB3_EVENT_UNC_OK, + DVB3_EVENT_UNC_ERR +}; enum SMS_DEVICE_MODE { DEVICE_MODE_NONE = -1, @@ -230,8 +248,13 @@ struct SmsMsgHdr_ST { }; struct SmsMsgData_ST { - struct SmsMsgHdr_ST xMsgHeader; - u32 msgData[1]; + struct SmsMsgHdr_ST xMsgHeader; + u32 msgData[1]; +}; + +struct SmsMsgData_ST2 { + struct SmsMsgHdr_ST xMsgHeader; + u32 msgData[2]; }; struct SmsDataDownload_ST {