aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/siano/smsendian.h
diff options
context:
space:
mode:
authorUri Shkolnik <urishk@yahoo.com>2009-04-20 12:00:52 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:14:22 -0400
commitcb17f9047d2c6f248f2f87f4783ca90db7b3f445 (patch)
tree60af67ecc7ca20704817ffdef741e5970cd3c803 /drivers/media/dvb/siano/smsendian.h
parentebb6c22e80ccb2889b9c459df36d686d223911f5 (diff)
V4L/DVB (11561): Siano: add messages handling for big-endian target
Add code that modify the content of Siano's protocol messages when running with big-endian target. Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/siano/smsendian.h')
-rw-r--r--drivers/media/dvb/siano/smsendian.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/media/dvb/siano/smsendian.h b/drivers/media/dvb/siano/smsendian.h
new file mode 100644
index 000000000000..7fbedc6a6527
--- /dev/null
+++ b/drivers/media/dvb/siano/smsendian.h
@@ -0,0 +1,32 @@
1/****************************************************************
2
3Siano Mobile Silicon, Inc.
4MDTV receiver kernel modules.
5Copyright (C) 2006-2009, Uri Shkolnik
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 2 of the License, or
10(at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20****************************************************************/
21
22#ifndef __SMS_ENDIAN_H__
23#define __SMS_ENDIAN_H__
24
25#include <asm/byteorder.h>
26
27void smsendian_handle_tx_message(void *buffer);
28void smsendian_handle_rx_message(void *buffer);
29void smsendian_handle_message_header(void *msg);
30
31#endif /* __SMS_ENDIAN_H__ */
32