Using Intel(R) Network Adapters with Red Hat* 7.0
=================================================

May 2001


Contents
========

- Compiling Intel drivers on Red Hat* 7.0
- Matching the Kernel Source on Enterprise Edition
- License

NOTE: This file ONLY applies to Red Hat* 7.0, including the Enterprise
      Edition.


Compiling Intel drivers on Red Hat* 7.0
==========================================

To install Intel's e100, e1000, and iANS drivers on systems running Red
Hat 7.0 Linux*, you MUST have the Kernel source package and kgcc. Without
kgcc, the modules compiled for the stock kernel are compiled with gcc and
may be unstable.
 
You can check for the required packages by typing:

	rpm -q kernel-source
        rpm -q kgcc
  
If you are missing a package, install it with the following commands:

        mount /dev/cdrom /mnt/cdrom  (or copy from the web)
        cd /mnt/cdrom/RedHat/RPMS/  (or directory copied from the web)
        rpm -i kernel-source-2.2.16-22.i386.rpm
        rpm -i kgcc-1.1.2-40.i386.rpm

Then, you MUST reboot. This ensures that version.h is updated. You may then
install the Intel driver(s) as indicated in the driver's read-me file. 
   

Matching the Kernel Source on Enterprise Edition
================================================

The Enterprise Kernel Version (7.0) was built using extra patches and does
not match the kernel-RPM installed source. You must install and apply the
patches from the kernel SRPM to recreate the proper source tree. 

NOTE: The Enterprise Kernel was developed to allow the 2.2.16 kernel large 
      memory access and other enterprise features. If you require enterprise
      capability, we strongly suggest using the 2.4.X series of kernels, which
      have native large memory support.

Use the following instructions to recreate the 2.2.16-22 enterprise kernel
source:

1) Install kernel-2.2.16-22.src.rpm and kernel-source-2.2.16-22.i386.rpm.

2) Make a copy of the source tree installed from kernel-source-2.2.16-22.i386.rpm.

3) Apply the following patches from the kernel SRPM to the new kernel source
   tree:

	/usr/src/RedHat/SOURCES/linux-2.2.16-lfs.patch
	/usr/src/RedHat/SOURCES/linux-2.2.16-lfs-bigmem.patch

   The patches do install cleanly, but you can ignore failures.

4) Clean out the kernel source tree and reconfigure for the enterprise kernel: 
	
	make mrproper
	cp configs/kernel-2.2.16-i686-enterprise.config .config
	make oldconfig
	make dep

5) Ensure /usr/src/linux is a symlink pointing to the new enterprise kernel
   source.

6) Build the driver.