| /* drivers/atm/atmdev_init.c - ATM device driver initialization */ |
| /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ |
| #include <linux/config.h> |
| extern int zatm_detect(void); |
| #ifdef CONFIG_ATM_AMBASSADOR |
| extern int amb_detect(void); |
| #ifdef CONFIG_ATM_HORIZON |
| extern int hrz_detect(void); |
| #ifdef CONFIG_ATM_FORE200E |
| extern int fore200e_detect(void); |
| extern int lanai_detect(void); |
| * For historical reasons, atmdev_init returns the number of devices found. |
| * Note that some detections may not go via atmdev_init (e.g. eni.c), so this |
| int __init atmdev_init(void) |
| #ifdef CONFIG_ATM_AMBASSADOR |
| #ifdef CONFIG_ATM_HORIZON |
| #ifdef CONFIG_ATM_FORE200E |
| devs += fore200e_detect(); |