Driver can be compiled and installed using the "qlcnic-src-install.sh" script
provided with this package. Please see "qlcnic-src-install.sh -h" for the usage.

Note: Install instructions for Citrix XenServer using qlcnic-src-install.sh
      can be found at the end of this document.

If you would like to manually compile and install the driver, please use
the following instructions.

Installing the Driver
---------------------

o make -C /lib/modules/$(uname -r)/build M=$(pwd) modules CONFIG_QLCNIC=m

o  Install qlcnic.ko

   On SLES:
   make -C /lib/modules/$(uname -r)/build M=$(pwd) INSTALL_MOD_DIR=updates/ modules_install

   On other distros:
   make -C /lib/modules/$(uname -r)/build M=$(pwd) modules_install

o  depmod -a

o  modprobe qlcnic

o  Install the man page

   cp qlcnic.4.gz /usr/share/man/man4

Removing the Driver
-------------------

o modprobe -r qlcnic

Note:

    * qlcnic : "ERROR: Module qlcnic is in use" message may be seen while
      unloading qlcnic module

      If you see the above error message during unload of the driver,
      retry the module unload after performing "service netqlremote stop"

o  remove qlcnic.ko entry from /lib/modules/$(uname -r)/modules.dep

o  Remove qlcnic.ko

   On SLES:
   rm /lib/modules/$(uname -r)/updates/qlcnic.ko

   On other distros:
   rm /lib/modules/$(uname -r)/extra/qlcnic.ko

o  Remove the man page

   rm /usr/share/man/man4/qlcnic.4.gz


Installing the Driver on Citrix XenServer using "qlcnic-src-install.sh"
=======================================================================

o XenServer installation is two step process. Please Follow instructions in
  step 1 first and then perform step 2

 STEP 1

 i) Log into XenServer DDK VM and extract qlcnic-src package.
 ii) perform build using "qlcnic-src-install.sh" with "-b" option.

 STEP 2

 i) copy binay and source built on XenServer DDK to XenServer Host.
 ii) execute "qlcnic-src-install.sh" script with "-i" option to install
