Import 2.3.18pre1
[davej-history.git] / drivers / atm / atmdev_init.c
blob3e5c714f033fb2b039d8f2fc834621f456b7ee45
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>
10 #ifdef CONFIG_ATM_ENI
11 externinteni_detect(void);
12 #endif
13 #ifdef CONFIG_ATM_ZATM
14 externintzatm_detect(void);
15 #endif
16 #ifdef CONFIG_ATM_TNETA1570
17 externinttneta1570_detect(void);
18 #endif
19 #ifdef CONFIG_ATM_FORE200
20 externintfore200_detect(void);
21 #endif
22 #ifdef CONFIG_ATM_NICSTAR
23 externintnicstar_detect(void);
24 #endif
25 #ifdef CONFIG_ATM_AMBASSADOR
26 externintamb_detect(void);
27 #endif
28 #ifdef CONFIG_ATM_HORIZON
29 externinthrz_detect(void);
30 #endif
33 int __init atmdev_init(void)
35 int devs;
37 devs =0;
38 #ifdef CONFIG_ATM_ENI
39 devs +=eni_detect();
40 #endif
41 #ifdef CONFIG_ATM_ZATM
42 devs +=zatm_detect();
43 #endif
44 #ifdef CONFIG_ATM_TNETA1570
45 devs +=tneta1570_detect();
46 #endif
47 #ifdef CONFIG_ATM_FORE200
48 devs +=fore200_detect();
49 #endif
50 #ifdef CONFIG_ATM_NICSTAR
51 devs +=nicstar_detect();
52 #endif
53 #ifdef CONFIG_ATM_AMBASSADOR
54 devs +=amb_detect();
55 #endif
56 #ifdef CONFIG_ATM_HORIZON
57 devs +=hrz_detect();
58 #endif
59 return devs;
close