Building the driver from the source tar file – Allied Telesis AT-2972SX User Manual

Page 12

Advertising
background image

Enabling LINUX

12

Note

The force option may be needed on some Linux distributions if
conflicts are reported.

Depending on the kernel, the driver is installed in one of the following
directories:

2.4.x kernels:

/lib/modules/<kernel_version>/kernel/drivers/net/
tg3.o

2.6.x kernels:

/lib/modules/<kernel_version>/kernel/drivers/net/

tg3.ko

5. To load the driver, enter one of the following commands:

insmod tg3.o

or

insmod tg3.ko (on 2.6 kernels)

or

modprobe tg3

To configure the network protocol and address, refer to the Linux version-
specific documentation.

Building the

Driver from the

Source TAR File

To build the LINUX driver from the source TAR file, use the following
procedure:

1. Create a directory, called tg3 - version, and extract the TAR files to the

directory. Enter the following command:

tar xvzf tg3-version.tar.gz

2. Build the driver tg3.o or tg3.ko as a loadable module for the running

kernel. Enter the following commands:

cd src
make

3. The driver is compiled for the running kernel by default. To build the

driver for a kernel different from the one running, specify the kernel by
defining it in KVER. If this is not necessary, skip to step 4.

Advertising
This manual is related to the following products: