I am going to assume you already have the
8139cp modules on the machine, and you just want to swap the
8139too with the
8139cp driver. Please note you can easily lock yourself out of the server using this method, so be careful.
Firstly run an
lsmod and check what modules the
mii module depends on e.g:
:~# lsmod | grep 8139
8139too 38400 0
8139cp 34944 0
mii 14720 2 8139too,8139cp
As you can see the
mii module depends on both of the
8139 modules. Now that we know which modules
mii depends on we can unload the all the modules, reload the module we want and restart our networking. Here is what we are going to do:
service networking restart
Short explanation of the code above. First three line remove the offending modules, then with
modprobe we add the modules we want. In this case it will be the
mii modules, restart your networking and use
ethtool to check that it is working properly.
:~# ethtool -i eth0
This is a small workaround and will reset once you restart the server, to make it permanent create a bash script with the code above and add it to your startup scripts.