1 /* drivers/atm/atmdev_init.c - ATM device driver initialization */
3 /* Written 1995-1997 by Werner Almesberger, EPFL LRC */
6 #include <linux/config.h>
7 #include <linux/init.h>
11 extern int eni_detect(void);
13 #ifdef CONFIG_ATM_ZATM
14 extern int zatm_detect(void);
16 #ifdef CONFIG_ATM_TNETA1570
17 extern int tneta1570_detect(void);
19 #ifdef CONFIG_ATM_FORE200
20 extern int fore200_detect(void);
22 #ifdef CONFIG_ATM_NICSTAR
23 extern int nicstar_detect(void);
25 #ifdef CONFIG_ATM_AMBASSADOR
26 extern int amb_detect(void);
28 #ifdef CONFIG_ATM_HORIZON
29 extern int hrz_detect(void);
33 int __init
atmdev_init(void)
41 #ifdef CONFIG_ATM_ZATM
42 devs
+= zatm_detect();
44 #ifdef CONFIG_ATM_TNETA1570
45 devs
+= tneta1570_detect();
47 #ifdef CONFIG_ATM_FORE200
48 devs
+= fore200_detect();
50 #ifdef CONFIG_ATM_NICSTAR
51 devs
+= nicstar_detect();
53 #ifdef CONFIG_ATM_AMBASSADOR
56 #ifdef CONFIG_ATM_HORIZON