module_param_array(board3, charp, NULL, 0);
MODULE_PARM_DESC(board3, "Board 3 config -> name[,ioaddr[,memaddr]");
+#if STLI_EISAPROBE != 0
/*
* Set up a default memory address table for EISA board probing.
* The default addresses are all bellow 1Mbyte, which has to be the
};
static int stli_eisamempsize = ARRAY_SIZE(stli_eisamemprobeaddrs);
+#endif
/*
* Define the Stallion PCI vendor and device IDs.
static int stli_initecp(struct stlibrd *brdp);
static int stli_initonb(struct stlibrd *brdp);
+#if STLI_EISAPROBE != 0
static int stli_eisamemprobe(struct stlibrd *brdp);
+#endif
static int stli_initports(struct stlibrd *brdp);
/*****************************************************************************/
return 0;
}
+#if STLI_EISAPROBE != 0
/*****************************************************************************/
/*
}
return 0;
}
+#endif
static int stli_getbrdnr(void)
{
return -1;
}
+#if STLI_EISAPROBE != 0
/*****************************************************************************/
/*
return 0;
}
+#else
+static inline int stli_findeisabrds(void) { return 0; }
+#endif
/*****************************************************************************/
stli_brdinit(brdp);
}
- if (STLI_EISAPROBE)
- stli_findeisabrds();
+ stli_findeisabrds();
retval = pci_register_driver(&stli_pcidriver);
/* TODO: check retval and do something */