HP StorageWorks A7298A Manual page 35

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

Advertisement

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 */}
6. Locate the following lines:
#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
7. Add these lines after: # define NEXT_DEV (&fc0_dev):
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 = {
"fc1", 0, 0, 0, 0, 0, 0, 0, 0, 0, NEXT_DEV, fcif_probe};
host bus adapter for Windows and Linux installation guide
Installing the SCSI Miniport Driver
3–13

Advertisement

Table of Contents
loading

Table of Contents