diff options
author | Uri Shkolnik <urishk@yahoo.com> | 2009-04-20 13:00:52 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 19:14:22 -0300 |
commit | cb17f9047d2c6f248f2f87f4783ca90db7b3f445 (patch) | |
tree | 60af67ecc7ca20704817ffdef741e5970cd3c803 /drivers/media/dvb/siano/smsendian.h | |
parent | ebb6c22e80ccb2889b9c459df36d686d223911f5 (diff) | |
download | linux-cb17f9047d2c6f248f2f87f4783ca90db7b3f445.tar.gz linux-cb17f9047d2c6f248f2f87f4783ca90db7b3f445.tar.bz2 linux-cb17f9047d2c6f248f2f87f4783ca90db7b3f445.zip |
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.h | 32 |
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 @@ +/**************************************************************** + +Siano Mobile Silicon, Inc. +MDTV receiver kernel modules. +Copyright (C) 2006-2009, Uri Shkolnik + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + + This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. + +****************************************************************/ + +#ifndef __SMS_ENDIAN_H__ +#define __SMS_ENDIAN_H__ + +#include <asm/byteorder.h> + +void smsendian_handle_tx_message(void *buffer); +void smsendian_handle_rx_message(void *buffer); +void smsendian_handle_message_header(void *msg); + +#endif /* __SMS_ENDIAN_H__ */ + |