To add a driver module supported in vanilla kernel to CentOS 7, you will need to do add the missing sources to the CentOS kernel tree and compile the module you want by doing the following:
Install prerequisites for building kernel by using the following commands:
yum group install "Development Tools"
yum install kernel-headers kernel-devel gcc ncurses-devel rsync bc
Download your running kernel sources from http://vault.centos.org/. In this example we'll download sources for 3.10.0-229.20.1.el7.x86_64 kernel by using:
wget http://vault.centos.org/7.1.1503/centosplus/Source/SPackages/kernel-plus-3.10.0-229.20.1.el7.centos.plus.src.rpm
After the rpm file is downloaded (to your home or to temporary directory) extract the contents by using:
rpm2cpio kernel-plus-3.10.0-229.20.1.el7.centos.plus.src.rpm | cpio -idmv
Finally, the archive with actual kernel sources should appear in the current directory. Extract it with a command:
tar xJvf linux-3.10.0-229.20.1.el7.tar.xz
Now you need to add the missing files from the kernel sources to your /usr/src/kernels. We'll use rsync to recursively copy files from the extracted kernel to your system without overwriting:
rsync -r --ignore-existing --include=* linux-3.10.0-229.20.1.el7/ /usr/src/kernels/3.10.0-229.20.1.el7.x86_64
Now go into your kernel directory /usr/src/kernels/3.10.0-229.20.1.el7.x86_64 and select missing modules, which you want to add to your system by running:
make menuconfig
For Sundance Technology Inc / IC Plus Corp IC Plus IP100A Ethernet card go to
Device Drivers -> Network device support -> Ethernet driver support -> D-Link devices
and select "M" next to "Sundance Alta support".
For other drivers you can use search by pressing "/" key.
After saving the kernel configuration build the module(s) you had selected by running:
make prepare
make modules_prepare
make M=module/subdirectory/in/the/kernel/tree
For Sundance card the command is:
make M=drivers/net/ethernet/dlink
and copy the resulted *.ko file(s) to your /lib/modules/extra directory
For Sundance card the command is:
cp drivers/net/ethernet/dlink/sundance.ko /lib/modules/extra
Alternatively you can build the whole kernel and then just install missing modules automatically by using:
make
make modules_install
(this may take many hours, though, so I'd recommend compiling only modules you need - it only takes a couple of minutes to add a module this way)