]> git.pld-linux.org Git - packages/kernel.git/blame - 2.6.0-t8-linuxTV-1of3-lkml.patch
- ported from linux-2.4.25-atmdd.patch
[packages/kernel.git] / 2.6.0-t8-linuxTV-1of3-lkml.patch
CommitLineData
1cd40e81 1diff -u linux/drivers/media/dvb/dvb-core/dvb_demux.c:1.38 linux/drivers/media/dvb/dvb-core/dvb_demux.c:1.39
2--- linux/drivers/media/dvb/dvb-core/dvb_demux.c:1.38 Mon Oct 13 02:34:51 2003
3+++ linux/drivers/media/dvb/dvb-core/dvb_demux.c Thu Oct 16 10:36:58 2003
4@@ -107,7 +107,7 @@
5 {
6 u32 crc;
7
8- crc = crc32_le(~0, data, length);
9+ crc = crc32_be(~0, data, length);
10
11 data[length] = (crc >> 24) & 0xff;
12 data[length+1] = (crc >> 16) & 0xff;
13@@ -118,7 +118,7 @@
14
15 static u32 dvb_dmx_crc32 (struct dvb_demux_feed *f, const u8 *src, size_t len)
16 {
17- return (f->feed.sec.crc_val = crc32_le (f->feed.sec.crc_val, src, len));
18+ return (f->feed.sec.crc_val = crc32_be (f->feed.sec.crc_val, src, len));
19 }
20
21
22diff -u linux/drivers/media/dvb/frontends/tda1004x.c:1.7 linux/drivers/media/dvb/frontends/tda1004x.c:1.8
23--- linux/drivers/media/dvb/frontends/tda1004x.c:1.7 Thu Oct 9 01:12:46 2003
24+++ linux/drivers/media/dvb/frontends/tda1004x.c Thu Oct 16 10:40:02 2003
25@@ -44,12 +44,12 @@
26 #include "dvb_frontend.h"
27 #include "dvb_functions.h"
28
29-#ifndef CONFIG_TDA1004X_MC_LOCATION
30-#define CONFIG_TDA1004X_MC_LOCATION "/etc/dvb/tda1004x.mc"
31+#ifndef DVB_TDA1004X_FIRMWARE_FILE
32+#define DVB_TDA1004X_FIRMWARE_FILE "/etc/dvb/tda1004x.mc"
33 #endif
34
35 static int tda1004x_debug = 0;
36-static char *tda1004x_firmware = CONFIG_TDA1004X_MC_LOCATION;
37+static char *tda1004x_firmware = DVB_TDA1004X_FIRMWARE_FILE;
38
39
40 #define TDA10045H_ADDRESS 0x08
41diff -u linux/drivers/media/dvb/ttpci/av7110.c:1.90 linux/drivers/media/dvb/ttpci/av7110.c:1.91
42--- linux/drivers/media/dvb/ttpci/av7110.c:1.90 Wed Oct 15 12:06:04 2003
43+++ linux/drivers/media/dvb/ttpci/av7110.c Fri Oct 17 19:01:24 2003
44@@ -4498,6 +4498,30 @@
45 0x1d, 0x00,
46 0x1e, 0x00,
47
48+ 0x41, 0x77,
49+ 0x42, 0x77,
50+ 0x43, 0x77,
51+ 0x44, 0x77,
52+ 0x45, 0x77,
53+ 0x46, 0x77,
54+ 0x47, 0x77,
55+ 0x48, 0x77,
56+ 0x49, 0x77,
57+ 0x4a, 0x77,
58+ 0x4b, 0x77,
59+ 0x4c, 0x77,
60+ 0x4d, 0x77,
61+ 0x4e, 0x77,
62+ 0x4f, 0x77,
63+ 0x50, 0x77,
64+ 0x51, 0x77,
65+ 0x52, 0x77,
66+ 0x53, 0x77,
67+ 0x54, 0x77,
68+ 0x55, 0x77,
69+ 0x56, 0x77,
70+ 0x57, 0xff,
71+
72 0xff
73 };
74
75diff -u linux/drivers/media/dvb/ttpci/av7110_firm.h:1.18 linux/drivers/media/dvb/ttpci/av7110_firm.h:1.19
76--- linux/drivers/media/dvb/ttpci/av7110_firm.h:1.18 Mon Oct 13 19:46:23 2003
77+++ linux/drivers/media/dvb/ttpci/av7110_firm.h Mon Oct 20 17:33:17 2003
78@@ -1,7 +1,7 @@
79
80 #include <asm/types.h>
81
82-u8 Dpram [] __initdata = {
83+static u8 Dpram [] = {
84 0xe5, 0x9f, 0xf0, 0x1c, 0xe1, 0xb0, 0xf0, 0x0e,
85 0xe5, 0x9f, 0xf0, 0x18, 0xe2, 0x5e, 0xf0, 0x04,
86 0xe2, 0x5e, 0xf0, 0x08, 0xe1, 0xa0, 0x00, 0x00,
87@@ -41,7 +41,7 @@
88 };
89
90
91-u8 Root [] __initdata = {
92+static u8 Root [] = {
93 0xb4, 0x90, 0x49, 0x18, 0x1c, 0x0b, 0x4a, 0x18,
94 0x1a, 0x50, 0x4f, 0x18, 0x1a, 0x79, 0x10, 0x8f,
95 0x21, 0x00, 0x2f, 0x00, 0xdd, 0x04, 0xcb, 0x10,
This page took 0.121637 seconds and 4 git commands to generate.