Neue Hardwareerkennung im Installer...
[people/teissler/ipfire-2.x.git] / src / install+setup / install / install.h
1 /* SmoothWall install program.
2 *
3 * This program is distributed under the terms of the GNU General Public
4 * Licence. See the file COPYING for details.
5 *
6 * (c) Lawrence Manning, 2001
7 * Main include file.
8 *
9 */
10
11 #include "../libsmooth/libsmooth.h"
12
13 #define IDE_EMPTY 0
14 #define IDE_CDROM 1
15 #define IDE_HD 2
16 #define IDE_UNKNOWN 3
17
18 /* CDROMS and harddisks. */
19 struct devparams
20 {
21 char devnode[STRING_SIZE];
22 int module;
23 char modulename[STRING_SIZE];
24 char options[STRING_SIZE];
25 };
26
27 /* ide.c */
28 int checkide(char letter);
29 char findidetype(int type);
30
31 /* cdrom.c */
32 int ejectcdrom(char *dev);
33
34 /* nic.c */
35 int networkmenu(struct keyvalue *ethernetkv);
36
37 /* net.c */
38 int checktarball(char *, char *message);
39
40 /* config.c */
41 int write_disk_configs(struct devparams *dp);
42 int write_lang_configs( char *lang);
43 int write_ethernet_configs(struct keyvalue *ethernetkv);
44
45 /* pcmcia.c */
46 char * initialize_pcmcia (void);
47
48 /* usb.c */
49 int initialize_usb();
50 int write_usb_modules_conf();
51
52 /* scsi.c */
53 int try_scsi(char *dev);
54 int get_boot(char *dev);