From 78750e9968b14d3ae0eb72489c6e857d950ae3c6 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Thu, 22 Dec 2005 16:17:31 +0000 Subject: 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 --- v4l/ChangeLog | 10 ++++++++++ v4l/Makefile | 3 +++ v4l/insmod.sh | 6 +++--- v4l/scripts/insmod.sh | 6 +++--- 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 + 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 \ -- cgit v1.2.3