|
|
--- bttv-cards.c.orig 2005-04-04 16:27:34.000000000 +0400
+++ bttv-cards.c 2005-04-04 16:26:41.000000000 +0400
@@ -2718,8 +2718,6 @@ void __devinit bttv_init_card2(struct bt
}
btv->pll.pll_current = -1;
- bttv_reset_audio(btv);
-
/* tuner configuration (from card list / autodetect / insmod option) */
if (UNSET != bttv_tvcards[btv->c.type].tuner_type)
if(UNSET == btv->tuner_type)
save it as /usr/src/linux/drivers/media/video/bttv-cards.c.bin
then change in above directory and execute
patch -p0 <bttv-cards.c.bin
上面一段从www.gentoo.org论坛上找的。原文在:http://forums.gentoo.org/viewtopic-t-324319.html
现在的问题是,我把上面一段代码复制到bttv-cards.c.bin文件里面,然后我进入
cd /usr/src
patch -p0 <bttv-cards.c.bin
提示没有找到该文件
cd /usr/src/linux/drivers/media/video
patch -p0 <bttv-cards.c.bin
提示如下信息:patching file bttv-cards.c
Hunk #1 FAILED at 2718
1 out of 1 hunk FAILED --saving rejects to file bttv-cards.c.rej
cd /usr/src
patch -p0 <linux/drivers/media/video/bttv-cards.c.bin
我不知道这种方法打补丁正确吗,
上述三种方法不知道那种正确,到底我应该如何打补丁。谢谢 |
|