SVN: rc-scripts/trunk/rc.d/init.d/functions
siefca
siefca at pld-linux.org
Sat Nov 25 21:36:16 CET 2006
Author: siefca
Date: Sat Nov 25 21:36:14 2006
New Revision: 7992
Modified:
rc-scripts/trunk/rc.d/init.d/functions
Log:
- added important check in forcedeth_workaround() which detects co-working drivers
Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions (original)
+++ rc-scripts/trunk/rc.d/init.d/functions Sat Nov 25 21:36:14 2006
@@ -897,9 +897,10 @@
[ -x /sbin/ethtool ] || return 2
[ -x /sbin/pci-config || return 2
grep -qi forcedeth /proc/modules || return 0
-
- # FIXME: put here condition - kernel/module version checking
- # when the problem will be fixed in the driver
+
+ # TIMERIRQ DISABLED is a token in description, which
+ # protects us against system hang - only patched module will have it
+ modinfo forcedeth | grep -qi 'timerirq disabled' || return 0
typeset iface bus_dev_fn bus lookfor dev_index cur_state
More information about the pld-cvs-commit
mailing list