
Build the Driver as a Module
Once you have installed the source file, you can build the driver as a module.
Note
We recommend building the driver as a module as
opposed to building the driver into the kernel.
Note
Driver installation or removal does not save the
configuration files (i.e. lpfc.conf, lpfc.conf.c or lpfc.conf.
defs) from previous installations. If you customized any of
these files, we recommend that you copy them to a another
location so that you have a record of the changes.
1. At the shell prompt type:
cd driver_istallation_directory
2. At the shell prompt, edit /etc/lpfc.conf to reflect your desired configuration.
Note
You must change the lpfc_network_on configuration
parameter to 1 in the /etc/lpfc.conf file if you plan to use the
network interface. See the online Configuration Manual for
details.
3. Build the drivers. Type:
# make
This makes the driver files similar to the following:
-rw-r--r-- 1 root root 226200 Aug 13 10:33 lpfcdd.o
-rw-r--r-- 1 root root 3334 Aug 13 10:33 lpfndd.o
4. Install both drivers under /lib/modules/kernel_version. Type:
# make install
Emulex Documentation, Drivers and Software
Kommentare zu diesen Handbüchern