]> git.ipfire.org Git - ipfire-2.x.git/blob - src/install+setup/install/install.h
Die IDE/SCSI/SATA/USB-Erkennung erstellt nun schoene Ramdisks :D
[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_disk[30]; // when single partition is addressed
22 char devnode_part[30]; // when the RAID partition is addressed
23 char devnode_disk_run[30]; // the same dev but after installation
24 char devnode_part_run[30];
25 char modulename[STRING_SIZE];
26 char options[STRING_SIZE];
27 };
28
29 /* ide.c */
30 int initialize_ide();
31 int checkide(char letter);
32 char findidetype(int type);
33
34 /* cdrom.c */
35 int ejectcdrom(char *dev);
36
37 /* nic.c */
38 int networkmenu(struct keyvalue *ethernetkv);
39
40 /* net.c */
41 int checktarball(char *, char *message);
42
43 /* config.c */
44 int write_disk_configs(struct devparams *dp);
45 int write_lang_configs( char *lang);
46 int write_ethernet_configs(struct keyvalue *ethernetkv);
47
48 /* usb.c */
49 int initialize_usb();
50 int write_usb_modules_conf();
51 int checkusb (char *partition);
52
53 /* scsi.c */
54 int try_scsi(char *dev);
55 int get_boot(char *dev);
56
57 /* unattended.c */
58 int unattended_setup(struct keyvalue *unattendedkv);