
Driver for Linux - Installation Section Page 9
5. Edit /usr/src/linux/drivers/net/Space.c to remove the following lines if they are present:
extern int lpfn_probe(void);
static int lpfnif_probe(struct net_device *dev)
{
#ifdef CONFIG_NET_LPFC
lpfn_probe();
#endif
return 0;
}
6. Edit /usr/src/linux/drivers/net/Space.c to remove the following lines if they are present:
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)
7. If the driver is statically linked to the current kernel, rebuild the kernel and reboot with the new
kernel image.
To remove the old driver installation files:
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. Type:
./remove.sh
2. If the driver is installed from an rpm, execute the following commands to remove files installed
by the rpm install.
rpm -e <rpm-name>
3. If the driver was installed in the kernel source tree, execute the following command to remove
the lpfcdd driver files from the kernel source tree.
rm -rf /usr/src/linux/drivers/scsi/lpfc/*
Kommentare zu diesen Handbüchern