[linux-dvb] [PATCH] Hauppauge Nova-T endianess problem on powerpc

Dennis Ranke mail at exoticorn.de
Fri Mar 2 01:53:40 CET 2007


Hi!

When trying to use a Hauppauge Nova-T Stick on a big-endian architecture
(such as powerpc) no frontend can be attached.

The attached patch fixes this problem by removing two lines in
dib0700_ctrl_rd() that try to correct the endianess on two values that
already are correct:
-	/* think about swapping here */
-	value = le16_to_cpu(value);
-	index = le16_to_cpu(index);

With this simple patch this dvb hardware works great, thanks to anyone
involved for the good work. :)

Signed-off-by: Dennis Ranke <mail at exoticorn.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dib0700_core.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070302/128a0b20/dib0700_core.bin


More information about the linux-dvb mailing list