summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-12-22 16:17:31 +0000
committerMichael Krufky <devnull@localhost>2005-12-22 16:17:31 +0000
commit78750e9968b14d3ae0eb72489c6e857d950ae3c6 (patch)
tree6e719dec0861d5d54c1f46e3893ed9dc47a2e269
parent073c3ebe3c33a9d0d3d7ff4484dffba0faa9a8a4 (diff)
downloadmediapointer-dvb-s2-78750e9968b14d3ae0eb72489c6e857d950ae3c6.tar.gz
mediapointer-dvb-s2-78750e9968b14d3ae0eb72489c6e857d950ae3c6.tar.bz2
add 'make reload' command to Makefile for quick v4l/dvb module reload
- Added command, 'make reload' - removes modules and re-inserts them. - Change console output to indicate that both v4l and dvb modules are being loaded/unloaded. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
-rw-r--r--v4l/ChangeLog10
-rw-r--r--v4l/Makefile3
-rw-r--r--v4l/insmod.sh6
-rw-r--r--v4l/scripts/insmod.sh6
4 files changed, 19 insertions, 6 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index 754a7215c..ddf736a67 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,13 @@
+2005-12-22 16:14 mkrufky
+
+ * v4l/Makefile:
+ * v4l/insmod.sh:
+ - Added command, 'make reload' - removes modules and re-inserts them.
+ - Change console output to indicate that both v4l and dvb
+ modules are being loaded/unloaded.
+
+ Signed-off-by: Michael Krufky <mkrufky@m1k.net>
+
2005-12-22 15:39 rmcc
* linux/Documentation/video4linux/CARDLIST.saa7134:
diff --git a/v4l/Makefile b/v4l/Makefile
index b249d1dd2..8a3117ab0 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -465,6 +465,9 @@ insmod load::
rmmod unload::
./insmod.sh unload
+reload::
+ ./insmod.sh reload
+
.version:
ifneq ($(KERNELRELEASE),)
echo -e VERSION=$(VERSION)\\nPATCHLEVEL:=$(PATCHLEVEL)\\nSUBLEVEL:=$(SUBLEVEL)\\nKERNELRELEASE:=$(KERNELRELEASE) > $(obj)/.version
diff --git a/v4l/insmod.sh b/v4l/insmod.sh
index b0e48d060..1a1ad5a57 100644
--- a/v4l/insmod.sh
+++ b/v4l/insmod.sh
@@ -5,7 +5,7 @@ sync
case "$1" in
load)
- echo "Inserting DVB modules into kernel"
+ echo "Inserting V4L/DVB modules into kernel"
modprobe i2c-core
modprobe crc32
modprobe firmware_class
@@ -120,7 +120,7 @@ case "$1" in
echo
;;
debug)
- echo "Inserting DVB modules (debug) into kernel"
+ echo "Inserting V4L/DVB modules (debug) into kernel"
modprobe i2c-core
modprobe crc32
modprobe firmware_class
@@ -225,7 +225,7 @@ case "$1" in
echo
;;
unload)
- echo "Removing DVB modules from kernel"
+ echo "Removing V4L/DVB modules from kernel"
rmmod b2c2-flexcop-usb b2c2-flexcop-pci b2c2-flexcop dvb-ttpci budget \
budget-av budget-ci budget-core ttusb_dec dvb-ttusb-budget \
ttpci-eeprom dvb-usb-nova-t-usb2.ko dvb-usb-a800.ko \
diff --git a/v4l/scripts/insmod.sh b/v4l/scripts/insmod.sh
index b0e48d060..1a1ad5a57 100644
--- a/v4l/scripts/insmod.sh
+++ b/v4l/scripts/insmod.sh
@@ -5,7 +5,7 @@ sync
case "$1" in
load)
- echo "Inserting DVB modules into kernel"
+ echo "Inserting V4L/DVB modules into kernel"
modprobe i2c-core
modprobe crc32
modprobe firmware_class
@@ -120,7 +120,7 @@ case "$1" in
echo
;;
debug)
- echo "Inserting DVB modules (debug) into kernel"
+ echo "Inserting V4L/DVB modules (debug) into kernel"
modprobe i2c-core
modprobe crc32
modprobe firmware_class
@@ -225,7 +225,7 @@ case "$1" in
echo
;;
unload)
- echo "Removing DVB modules from kernel"
+ echo "Removing V4L/DVB modules from kernel"
rmmod b2c2-flexcop-usb b2c2-flexcop-pci b2c2-flexcop dvb-ttpci budget \
budget-av budget-ci budget-core ttusb_dec dvb-ttusb-budget \
ttpci-eeprom dvb-usb-nova-t-usb2.ko dvb-usb-a800.ko \