Chapter 6: Linux 2.4 And 2.6; Installing The Atnic Driver On Linux 2.4; Limitations; Building The Driver - Allied Telesis AT-2700FX Installation Manual

Ethernet network adapters
Hide thumbs Also See for AT-2700FX:
Table of Contents

Advertisement

Chapter 6: Linux 2.4 and 2.6

Installing the ATNIC Driver on Linux 2.4

Limitations

Building the
Driver
Installing the
Driver
126
This driver supports dynamic loading and unloading via the KLM support
provided by Linux. As a result, you must custom build the driver for the
particular version of the kernel installed. The driver is located on the Allied
Telesyn Installation CD in the \drivers\linux subdirectory and in the
\linux subdirectory of a driver installation diskette.
The current version of the driver has been tested as a loadable module on
Red Hat 7.0, 7.1, and 7.2 Linux distributions for i386 and ia64. Testing has
also been done on other similar Linux distributions using the 2.4.x kernels.
Note
You must have the kernel source code and the full GCC library
installed in order to build and load the driver. For RedHat, the kernel
source is located on the installation CDs (Disk2), not the source
CDs. Look for a file with the name KERNEL-SOURCE-X.X.XX-
i386.RPM, where x stands for build number.
To insure that the kernel source code is installed, change to the
USR/SRC directory and verify that the Linux source tree is present.
Look for linux-x.x.x-x, where x stands for the current build numbers.
If you only see a linux directory, chances you installed the wrong
source files.
1. Copy the Allied Telesyn driver source TAR file to a temporary
directory, and type
2. Edit
using VI or your favorite text editor, and change the
Makefile
LINUX path variable to the directory name where the kernel source
files are installed.
3. Type
to compile the driver source code. If successful, you
make
should see the file atnic32.o.
4. Continue with the driver installation.
Run
to install the driver.
make install
The atnic32.o file will be copied to the lib/modules/<build#>/
kernel/drivers/net directory and depmod - a will be run to update
dependencies.
to extract the files.
tar -xvf filename

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents