I have a situation where I have two modules both named cxgb3 and both in /lib/modules/. How do I inform the OS which one to prefer?
Consider this example:
$ find /lib/modules/ -name cxgb3.ko /lib/modules/2.6.32-431.el6.x86_64/extra/mlnx-ofa_kernel/drivers/net/ethernet/chelsio/cxgb3/cxgb3.ko /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/cxgb3/cxgb3.ko
Currently it uses the top one but I want it to use the bottom one. I am using CentOS 6.5.