Skip to content
Snippets Groups Projects
Commit 7ddd2410 authored by Patrick Robbe's avatar Patrick Robbe
Browse files

Fix reload pci driver

parent 6a76bb69
No related branches found
No related tags found
No related merge requests found
...@@ -3,4 +3,7 @@ ...@@ -3,4 +3,7 @@
*.log *.log
Driver/pcie40_reload/pcie40_reload Driver/pcie40_reload/pcie40_reload
Driver/pcie40_reload/pcie40_reload.out/ Driver/pcie40_reload/pcie40_reload.out/
Driver/pcie40_driver/.pcie40.ko.unsigned.cmd
Driver/pcie40_driver/.pcie40_emu.ko.unsigned.cmd
Driver/pcie40_driver/pcie40.ko.unsigned
Driver/pcie40_driver/pcie40_emu.ko.unsigned
...@@ -68,11 +68,11 @@ while getopts "macfqh" opt; do ...@@ -68,11 +68,11 @@ while getopts "macfqh" opt; do
done done
if [ "${RELOAD_MODULE}" -eq 0 ]; then if [ "${RELOAD_MODULE}" -eq 0 ]; then
INSTALLED_SRCVERSION=`modinfo -F srcversion lhcb_pcie40` #INSTALLED_SRCVERSION=`modinfo -F srcversion pcie40`
LOADED_SRCVERSION=$(</sys/module/lhcb_pcie40/srcversion) LOADED_SRCVERSION=$(</sys/module/pcie40/srcversion)
if [ "${LOADED_SRCVERSION}" != "${INSTALLED_SRCVERSION}" ]; then #if [ "${LOADED_SRCVERSION}" != "${INSTALLED_SRCVERSION}" ]; then
echo "Warning: loaded module version does not match installed version, run \`pcie40_reload -m\` to use the installed module instead" >&2 #echo "Warning: loaded module version does not match installed version, run \`pcie40_reload -m\` to use the installed module instead" >&2
fi; #fi;
else else
RELOAD_ALL=1 RELOAD_ALL=1
fi; fi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment