SysKonnect SK-9E21D User Manual
Page 23

SysKonnect SK-9E21D 10/100/1000Base-T Adapter PCI Express
Linux
25
After the sources have been installed, they can be found in a directory named either
/usr/src/linux-a.b.c
or
/usr/src/linux
.
4.
Usually, the directory
/usr/src/linux
is a symbolic link to the target kernel source
tree but in some cases you may need to create it manually with the following command:
cd /usr/src
ln -s linux-a.b.c linux
5.
To start the kernel build process, go to the topmost directory in the kernel source tree with
the following command:
cd /usr/src
6.
Patch the kernel with the following command:
zcat /patch-location/sk98lin_a_b_c_patch.gz | patch -p0
For initial driver setup, the driver must be installed and then be started manually. After suc-
cessful installation, the driver can be included into the system start. The driver can either be
integrated into the kernel or be compiled as a module. Select the appropriate option during
kernel configuration.
The installation procedure is described for installing the driver on x86 systems. In addition to
installing the driver, standard development tools, e.g. “make”, “gcc”, etc. have to be installed.
Install the driver
To use the driver as a module or integrate it into the kernel, proceed as follows:
1.
After you have installed the adapter in your computer (for details, see chapter 1 "Installa-
tion of the Network Adapter"), boot your Linux system.
2.
Login as “root”.
3.
Go to the directory /usr/src/linux.
4.
Execute the command:
make
menuconfig
for the console mode, or
execute the command:
make xconfig
for the graphical mode.
The kernel configuration menu is displayed.
5.
Select the menu N
ETWORK
DEVICE
SUPPORT
.
6.
Select the menu E
THERNET
(1000 MB
IT
).
7.
To integrate the driver permanently into the kernel, mark M
ARVELL
Y
UKON
C
HIPSET
/
S
YS
K
ONNECT
98
XX
S
UPPORT
with (*).
To compile the driver as a module, mark M
ARVELL
Y
UKON
C
HIPSET
/ S
YS
K
ONNECT
98
XX
S
UPPORT
with (M).
The support for SysKonnect SK-9E21D Adapters is included in the SysKonnect 98xx
Support.
8.
Select E
XIT
.
The Main Menu is displayed.
9.
Select L
OADABLE
MODULE
SUPPORT
.
The menu “Loadable module support“ is displayed.
10. Select E
NABLE
LOADABLE
MODULE
SUPPORT
.
11. Select K
ERNEL
MODULE
LOADER
.
12. Select E
XIT
.
13. Configure other options, e.g. SCSI, file systems, etc.
14. To quit the configuration, select E
XIT
.
The message “
Do you wish to save your new kernel configuration
” is dis-
played.
15. Select Y
ES
to save the new kernel configuration.
Now build a new kernel by executing the following commands:
16. Execute the command:
make dep
.
17. Execute the command:
make clean bzImage
.