More Makefile cleanups, otherwise mainly noticeable are the netfilter fix
[davej-history.git] / drivers / block / genhd.c
blob2cc319e200bdbe2b108ac7265ecb087743b73cb9
1 /*
2 * Code extracted from
3 * linux/kernel/hd.c
5 * Copyright (C) 1991-1998 Linus Torvalds
7 * devfs support - jj, rgooch, 980122
9 * Moved partition checking code to fs/partitions* - Russell King
10 * (linux@arm.uk.linux.org)
13 #include <linux/config.h>
14 #include <linux/fs.h>
15 #include <linux/genhd.h>
16 #include <linux/kernel.h>
17 #include <linux/blk.h>
18 #include <linux/init.h>
20 extern int parport_init(void);
21 extern int chr_dev_init(void);
22 extern int blk_dev_init(void);
23 #ifdef CONFIG_BLK_DEV_DAC960
24 extern void DAC960_Initialize(void);
25 #endif
26 extern int net_dev_init(void);
27 extern void console_map_init(void);
28 extern int soc_probe(void);
29 extern int atmdev_init(void);
30 extern int i2o_init(void);
31 extern int cpqarray_init(void);
32 extern void ieee1394_init(void);
34 void __init device_init(void)
36 #ifdef CONFIG_PARPORT
37 parport_init();
38 #endif
39 chr_dev_init();
40 blk_dev_init();
41 sti();
42 #ifdef CONFIG_I2O
43 i2o_init();
44 #endif
45 #ifdef CONFIG_BLK_DEV_DAC960
46 DAC960_Initialize();
47 #endif
48 #ifdef CONFIG_FC4_SOC
49 /* This has to be done before scsi_dev_init */
50 soc_probe();
51 #endif
52 #ifdef CONFIG_IEEE1394
53 ieee1394_init();
54 #endif
55 #ifdef CONFIG_BLK_CPQ_DA
56 cpqarray_init();
57 #endif
58 #ifdef CONFIG_NET
59 net_dev_init();
60 #endif
61 #ifdef CONFIG_ATM
62 (void) atmdev_init();
63 #endif
64 #ifdef CONFIG_VT
65 console_map_init();
66 #endif