浏览代码

V4L/DVB (3242): make the firmware dir docs consistent in the v4l-dvb tree.

- make the firmware dir documentation and comments consistent in the v4l-dvb tree.

Signed-off-by: Ville Skytt <ville.skytta@iki.fi>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Ville Skytt\ 19 年之前
父节点
当前提交
12e66f6573

+ 2 - 1
Documentation/dvb/avermedia.txt

@@ -150,7 +150,8 @@ Getting the card going
 
 
    The frontend module sp887x.o, requires an external   firmware.
    The frontend module sp887x.o, requires an external   firmware.
    Please use  the  command "get_dvb_firmware sp887x" to download
    Please use  the  command "get_dvb_firmware sp887x" to download
-   it. Then copy it to /usr/lib/hotplug/firmware.
+   it. Then copy it to /usr/lib/hotplug/firmware or /lib/firmware/
+   (depending on configuration of firmware hotplug).
 
 
 Receiving DVB-T in Australia
 Receiving DVB-T in Australia
 
 

+ 5 - 1
Documentation/dvb/get_dvb_firmware

@@ -34,7 +34,11 @@ for ($i=0; $i < scalar(@components); $i++) {
     if ($cid eq $components[$i]) {
     if ($cid eq $components[$i]) {
 	$outfile = eval($cid);
 	$outfile = eval($cid);
 	die $@ if $@;
 	die $@ if $@;
-	print STDERR "Firmware $outfile extracted successfully. Now copy it to either /lib/firmware or /usr/lib/hotplug/firmware/ (depending on your hotplug version).\n";
+	print STDERR <<EOF;
+Firmware $outfile extracted successfully.
+Now copy it to either /usr/lib/hotplug/firmware or /lib/firmware
+(depending on configuration of firmware hotplug).
+EOF
 	exit(0);
 	exit(0);
     }
     }
 }
 }

+ 2 - 1
Documentation/dvb/ttusb-dec.txt

@@ -41,4 +41,5 @@ Hotplug Firmware Loading for 2.6 kernels
 For 2.6 kernels the firmware is loaded at the point that the driver module is
 For 2.6 kernels the firmware is loaded at the point that the driver module is
 loaded.  See linux/Documentation/dvb/firmware.txt for more information.
 loaded.  See linux/Documentation/dvb/firmware.txt for more information.
 
 
-Copy the three files downloaded above into the /usr/lib/hotplug/firmware directory.
+Copy the three files downloaded above into the /usr/lib/hotplug/firmware or
+/lib/firmware directory (depending on configuration of firmware hotplug).

+ 6 - 3
drivers/media/dvb/frontends/Kconfig

@@ -64,7 +64,8 @@ config DVB_SP8870
 
 
 	  This driver needs external firmware. Please use the command
 	  This driver needs external firmware. Please use the command
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware sp8870" to
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware sp8870" to
-	  download/extract it, and then copy it to /usr/lib/hotplug/firmware.
+	  download/extract it, and then copy it to /usr/lib/hotplug/firmware
+	  or /lib/firmware (depending on configuration of firmware hotplug).
 
 
 config DVB_SP887X
 config DVB_SP887X
 	tristate "Spase sp887x based"
 	tristate "Spase sp887x based"
@@ -75,7 +76,8 @@ config DVB_SP887X
 
 
 	  This driver needs external firmware. Please use the command
 	  This driver needs external firmware. Please use the command
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware sp887x" to
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware sp887x" to
-	  download/extract it, and then copy it to /usr/lib/hotplug/firmware.
+	  download/extract it, and then copy it to /usr/lib/hotplug/firmware
+	  or /lib/firmware (depending on configuration of firmware hotplug).
 
 
 config DVB_CX22700
 config DVB_CX22700
 	tristate "Conexant CX22700 based"
 	tristate "Conexant CX22700 based"
@@ -105,7 +107,8 @@ config DVB_TDA1004X
 	  This driver needs external firmware. Please use the commands
 	  This driver needs external firmware. Please use the commands
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10045",
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10045",
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10046" to
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10046" to
-	  download/extract them, and then copy them to /usr/lib/hotplug/firmware.
+	  download/extract them, and then copy them to /usr/lib/hotplug/firmware
+	  or /lib/firmware (depending on configuration of firmware hotplug).
 
 
 config DVB_NXT6000
 config DVB_NXT6000
 	tristate "NxtWave Communications NXT6000 based"
 	tristate "NxtWave Communications NXT6000 based"

+ 2 - 1
drivers/media/dvb/frontends/nxt2002.c

@@ -22,7 +22,8 @@
 /*
 /*
  * This driver needs external firmware. Please use the command
  * This driver needs external firmware. Please use the command
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware nxt2002" to
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware nxt2002" to
- * download/extract it, and then copy it to /usr/lib/hotplug/firmware.
+ * download/extract it, and then copy it to /usr/lib/hotplug/firmware
+ * or /lib/firmware (depending on configuration of firmware hotplug).
  */
  */
 #define NXT2002_DEFAULT_FIRMWARE "dvb-fe-nxt2002.fw"
 #define NXT2002_DEFAULT_FIRMWARE "dvb-fe-nxt2002.fw"
 #define CRC_CCIT_MASK 0x1021
 #define CRC_CCIT_MASK 0x1021

+ 2 - 1
drivers/media/dvb/frontends/or51211.c

@@ -25,7 +25,8 @@
 /*
 /*
  * This driver needs external firmware. Please use the command
  * This driver needs external firmware. Please use the command
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware or51211" to
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware or51211" to
- * download/extract it, and then copy it to /usr/lib/hotplug/firmware.
+ * download/extract it, and then copy it to /usr/lib/hotplug/firmware
+ * or /lib/firmware (depending on configuration of firmware hotplug).
  */
  */
 #define OR51211_DEFAULT_FIRMWARE "dvb-fe-or51211.fw"
 #define OR51211_DEFAULT_FIRMWARE "dvb-fe-or51211.fw"
 
 

+ 2 - 1
drivers/media/dvb/frontends/sp8870.c

@@ -22,7 +22,8 @@
 /*
 /*
  * This driver needs external firmware. Please use the command
  * This driver needs external firmware. Please use the command
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware alps_tdlb7" to
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware alps_tdlb7" to
- * download/extract it, and then copy it to /usr/lib/hotplug/firmware.
+ * download/extract it, and then copy it to /usr/lib/hotplug/firmware
+ * or /lib/firmware (depending on configuration of firmware hotplug).
  */
  */
 #define SP8870_DEFAULT_FIRMWARE "dvb-fe-sp8870.fw"
 #define SP8870_DEFAULT_FIRMWARE "dvb-fe-sp8870.fw"
 
 

+ 2 - 1
drivers/media/dvb/frontends/sp887x.c

@@ -5,7 +5,8 @@
 /*
 /*
  * This driver needs external firmware. Please use the command
  * This driver needs external firmware. Please use the command
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware sp887x" to
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware sp887x" to
- * download/extract it, and then copy it to /usr/lib/hotplug/firmware.
+ * download/extract it, and then copy it to /usr/lib/hotplug/firmware
+ * or /lib/firmware (depending on configuration of firmware hotplug).
  */
  */
 #define SP887X_DEFAULT_FIRMWARE "dvb-fe-sp887x.fw"
 #define SP887X_DEFAULT_FIRMWARE "dvb-fe-sp887x.fw"
 
 

+ 2 - 1
drivers/media/dvb/frontends/tda1004x.c

@@ -23,7 +23,8 @@
  * This driver needs external firmware. Please use the commands
  * This driver needs external firmware. Please use the commands
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10045",
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10045",
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10046" to
  * "<kerneldir>/Documentation/dvb/get_dvb_firmware tda10046" to
- * download/extract them, and then copy them to /usr/lib/hotplug/firmware.
+ * download/extract them, and then copy them to /usr/lib/hotplug/firmware
+ * or /lib/firmware (depending on configuration of firmware hotplug).
  */
  */
 #define TDA10045_DEFAULT_FIRMWARE "dvb-fe-tda10045.fw"
 #define TDA10045_DEFAULT_FIRMWARE "dvb-fe-tda10045.fw"
 #define TDA10046_DEFAULT_FIRMWARE "dvb-fe-tda10046.fw"
 #define TDA10046_DEFAULT_FIRMWARE "dvb-fe-tda10046.fw"

+ 2 - 1
drivers/media/dvb/ttpci/Kconfig

@@ -20,7 +20,8 @@ config DVB_AV7110
 
 
 	  This driver needs an external firmware. Please use the script
 	  This driver needs an external firmware. Please use the script
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware av7110" to
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware av7110" to
-	  download/extract it, and then copy it to /usr/lib/hotplug/firmware.
+	  download/extract it, and then copy it to /usr/lib/hotplug/firmware
+	  or /lib/firmware (depending on configuration of firmware hotplug).
 
 
 	  Say Y if you own such a card and want to use it.
 	  Say Y if you own such a card and want to use it.
 
 

+ 3 - 3
drivers/media/dvb/ttpci/av7110.c

@@ -1494,9 +1494,9 @@ static int get_firmware(struct av7110* av7110)
 		if (ret == -ENOENT) {
 		if (ret == -ENOENT) {
 			printk(KERN_ERR "dvb-ttpci: could not load firmware,"
 			printk(KERN_ERR "dvb-ttpci: could not load firmware,"
 			       " file not found: dvb-ttpci-01.fw\n");
 			       " file not found: dvb-ttpci-01.fw\n");
-			printk(KERN_ERR "dvb-ttpci: usually this should be in"
-			       " /usr/lib/hotplug/firmware\n");
-			printk(KERN_ERR "dvb-ttpci: and can be downloaded here"
+			printk(KERN_ERR "dvb-ttpci: usually this should be in "
+			       "/usr/lib/hotplug/firmware or /lib/firmware\n");
+			printk(KERN_ERR "dvb-ttpci: and can be downloaded from"
 			       " http://www.linuxtv.org/download/dvb/firmware/\n");
 			       " http://www.linuxtv.org/download/dvb/firmware/\n");
 		} else
 		} else
 			printk(KERN_ERR "dvb-ttpci: cannot request firmware"
 			printk(KERN_ERR "dvb-ttpci: cannot request firmware"

+ 2 - 1
drivers/media/dvb/ttusb-dec/Kconfig

@@ -16,6 +16,7 @@ config DVB_TTUSB_DEC
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware dec2000t",
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware dec2000t",
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware dec2540t",
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware dec2540t",
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware dec3000s",
 	  "<kerneldir>/Documentation/dvb/get_dvb_firmware dec3000s",
-	  download/extract them, and then copy them to /usr/lib/hotplug/firmware.
+	  download/extract them, and then copy them to /usr/lib/hotplug/firmware
+	  or /lib/firmware (depending on configuration of firmware hotplug).
 
 
 	  Say Y if you own such a device and want to use it.
 	  Say Y if you own such a device and want to use it.