summaryrefslogtreecommitdiff
path: root/v4l/scripts/rmmod.pl
AgeCommit message (Collapse)Author
2006-08-02Look for module utilities in /sbin directoriesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Normally programs like modinfo are in /sbin, and non-root users often don't have this in their path. Make the rmmod.pl script look in some extra directories like /sbin, /usr/sbin, etc. if it can't find the utilities in the path. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-02Added cross-dependecy check at the end of compilation cycleMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-13rmmod syntax works only on newer mod-utils packagesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> rmmod <file> doesn't work with rmmod version 3.2.2. This patch uses rmmod <module> instead. This should work with older mod-utils. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-08Make reload were not working. fixed.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-08There were a cross-reference on cpia and cpia_pp/cpia_usbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those cross-references were generating an error: *** Warning: "cpia_pp_init" [/home/v4l/master/v4l/cpia.ko] undefined! *** Warning: "cpia_usb/_init" [/home/v4l/master/v4l/cpia.ko] undefined! Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-08insmod.sh were replaced by a perl script (rmmod.pl)Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> insmod.sh were a hack, were somebody should check all dependencies for each module. Several dependencies were mising, and, to keep it updated for 178 modules is really hard. rmmod.pl is a "smart" script: it does: 1) Check, for each found module on v4l, the correct order for each module; 2) Check any dependencies for out-of-tree modules; 3) rmmod/insmod at the correct order; 4) It have a table with the suggested debug parameter for each module. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>