Check-in [eee347afac]
Overview
Comment:Corrected typo in previous commit
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: eee347afac74510537dd0dbc695b724d91848978
User & Date: rkeene on 2014-12-15 17:03:15
Other Links: manifest | tags
Context
2014-12-19
00:01
Updated to try to continue loading after an error occurs check-in: 72373a7088 user: rkeene tags: trunk
2014-12-15
17:03
Corrected typo in previous commit check-in: eee347afac user: rkeene tags: trunk
16:55
Updated to support scanning /sys/devices for modules to load check-in: 882f8b5c54 user: rkeene tags: trunk
Changes

Modified tuapi.tcl from [7cc91409f0] to [eee9236ec6].

410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
	foreach modules $args {
		foreach module $modules {
			# If the module is given as an absolute path, ignore the path
			# and process just as we would if the name were given alone
			# This may be wrong, but otherwise dependency matching would
			# be harder
			if {[string index $module 0] == "/" && [file exists $module]} {
				set module [file rootname [file tail]]
			}

			for {set try 0} {$try < 100} {incr try} {
				if {![info exists alias2module($module)]} {
					# If no exact match found, process wildcard entries
					set found_wildcard_match 0
					foreach alias [array name alias2module_wildcards] {







|







410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
	foreach modules $args {
		foreach module $modules {
			# If the module is given as an absolute path, ignore the path
			# and process just as we would if the name were given alone
			# This may be wrong, but otherwise dependency matching would
			# be harder
			if {[string index $module 0] == "/" && [file exists $module]} {
				set module [file rootname [file tail $module]]
			}

			for {set try 0} {$try < 100} {incr try} {
				if {![info exists alias2module($module)]} {
					# If no exact match found, process wildcard entries
					set found_wildcard_match 0
					foreach alias [array name alias2module_wildcards] {