I am attempting to insmod rt2860sta.ko and rt3562sta.ko, two similar network modules, simultaneously.
rt3562sta code reveals many references to rt2860; thus, it is clear that the rt3562sta.ko module was created from rt2860 source.
I can insmod one just fine. When I try to insmod the other, the terminal returns "insmod: can't insert <module name>: Device or resource busy" and dmesg reports: "Error: Driver 'rt2860' is already registered, aborting..."
Based on dmesg, I believe the problem is that both modules are named "rt2860" in some fashion unknown to me. lsmod shows them to be named rt2860sta and rt3562sta when they are loaded seperately, which is also their file names.
Thus, I suspect the solution lies in editing the rt3562sta code. First I must find the place where the rt3562 module is identified as "rt2860" and merely change that to something else.
Am I on the right track. If yes, how would I go about finding the correct reference to "rt2860"? (when I search for "rt2860" there are many many search results).
Thank you for your help, in advance