
If the lpfc and lpfndd driver is installed into the kernel source tree, use the following procedure to remove
the lpfc driver from the kernel source tree:
1. Edit /usr/src/linux/drivers/Makefile to remove the following line if it is present:
subdir-$(CONFIG_SCSI_LPFC) += scsi/lpfc
2. Edit /usr/src/linux/drivers/scsi/config.in file to remove the following line if it is present:
dep_tristate 'Emulex LightPulse Fibre Channel support' CONFIG_SCSI_LPFC $CONFIG_SCSI
3. Edit /usr/src/linux/drivers/scsi/Makefile to remove the following line if it is present:
obj-$(CONFIG_SCSI_LPFC) += lpfcdd.o
4. Edit /usr/src/linux/drivers/net/config.in file to remove the following line if it is present:
dep_tristate 'Emulex LightPulse Fibre Channel support' CONFIG_NET_LPFC $CONFIG_SCSI
5. Edit /usr/src/linux/drivers/net/Space.c to remove the following lines if they are present:
#ifdef CONFIG_NET_LPFC
extern int lpfn_probe(void);
static int lpfnif_probe(struct net_device *dev)
{
lpfn_probe();
return 1;
}
#endif
6. Edit /usr/src/linux/drivers/net/Space.c to remove the following lines if they are present:
#ifdef CONFIG_NET_LPFC
static struct net_device lpfn_dev = {
"lpfn", 0, 0, 0, 0, 0, 0, 0, 0, 0, NEXT_DEV, lpfnif_probe};
# undef NEXT_DEV
# define NEXT_DEV (&lpfn_dev)
#endif
7. If the driver is statically linked to the current kernel, rebuild the kernel and reboot with the new
kernel image.
Remove the old driver installation files as follows:
1. If the driver is installed from a tar file, execute Remove.sh in the old installation directory to
remove all of the installed files.
Emulex Documentation, Drivers and Software
Comentarios a estos manuales