Emulex LP10000ExDC Manual de usuario Pagina 41

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 366
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 40
4. Add this text after #ifdef CONFIG_NET_FC:
extern int lpfn_probe (void);
static int lpfnif_probe(struct net_device *dev)
{
lpfn_probe();
return 1;
}
#endif
The edited lines should now look like the following:
#ifdef CONFIG_NET_FC
#ifdef CONFIG_NET_LPFC
extern int lpfn_probe(void);
static int lpfnif_probe(struc net_device * dev)
{
lpfn_probe();
return 1;
}
#endif
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 */ }
5. 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_devicev 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
6. Add these lines after: # define NEXT_DEV (&fc0_dev):
#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
Emulex Documentation, Drivers and Software
41
Vista de pagina 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 365 366

Comentarios a estos manuales

Sin comentarios