HP StorageWorks A7298A Installation Manual page 45

Host bus adapter for windows and linux
Hide thumbs Also See for StorageWorks A7298A:
Table of Contents

Advertisement

5. Add this text after #ifdef CONFIG_NET_FC:
6. Locate the following lines:
7. Add these lines after: # define NEXT_DEV (&fc0_dev):
Host Bus Adapter for Windows and Linux Installation Guide
static int lpfnif_probe(struct net_device *dev){
#ifdef CONFIG_LPFC_SCSI
lpfn_probe();
#endif
return 0;
}
The edited lines should now display as follows:
#ifdef CONFIG_NET_FC
static int lpfnif_probe(struct net_device *dev)
{
#ifdef CONFIG_LPFC_SCSI
lpfn_probe();
#endif
return 0;
}
static int fcif_probe(struct net_device *dev)
{
if (dev->base_addr == -1)
return 1;
if (1
#ifdef CONFIG_IPHASE5526
&& iph5526_probe(dev)
#endif
&& 1) {
return 1; /* -ENODEV or -EAGAIN would be more accurate. */
}
return 0;
}
#endif /* CONFIG_NET_FC */}
#ifdef CONFIG_NET_FC
static struct net_device fc1_dev = {
"fc1", 0, 0, 0, 0, 0, 0, 0, 0, 0, NEXT_DEV, fcif_probe};
static struct net_device fc0_dev = {
"fc0", 0, 0, 0, 0, 0, 0, 0, 0, 0, &fc1_dev, fcif_probe};
# undef NEXT_DEV
# define NEXT_DEV (&fc0_dev)
#endif
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)
The edited lines display as follows:
#ifdef CONFIG_NET_FC
static struct net_device fc1_dev = {
Installing the SCSI Miniport Driver
45

Advertisement

Table of Contents
loading

Table of Contents