mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 00:02:55 +02:00
Kernel ist jetzt noch modularer, da keine IDE/FS-Treiber vorhanden sind. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@561 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
59 lines
1.3 KiB
C
59 lines
1.3 KiB
C
/* SmoothWall install program.
|
|
*
|
|
* This program is distributed under the terms of the GNU General Public
|
|
* Licence. See the file COPYING for details.
|
|
*
|
|
* (c) Lawrence Manning, 2001
|
|
* Main include file.
|
|
*
|
|
*/
|
|
|
|
#include "../libsmooth/libsmooth.h"
|
|
|
|
#define IDE_EMPTY 0
|
|
#define IDE_CDROM 1
|
|
#define IDE_HD 2
|
|
#define IDE_UNKNOWN 3
|
|
|
|
/* CDROMS and harddisks. */
|
|
struct devparams
|
|
{
|
|
char devnode_disk[30]; // when single partition is addressed
|
|
char devnode_part[30]; // when the RAID partition is addressed
|
|
char devnode_disk_run[30]; // the same dev but after installation
|
|
char devnode_part_run[30];
|
|
char modulename[STRING_SIZE];
|
|
char options[STRING_SIZE];
|
|
};
|
|
|
|
/* ide.c */
|
|
int initialize_ide();
|
|
int checkide(char letter);
|
|
char findidetype(int type);
|
|
|
|
/* cdrom.c */
|
|
int ejectcdrom(char *dev);
|
|
|
|
/* nic.c */
|
|
int networkmenu(struct keyvalue *ethernetkv);
|
|
|
|
/* net.c */
|
|
int checktarball(char *, char *message);
|
|
|
|
/* config.c */
|
|
int write_disk_configs(struct devparams *dp);
|
|
int write_lang_configs( char *lang);
|
|
int write_ethernet_configs(struct keyvalue *ethernetkv);
|
|
|
|
/* usb.c */
|
|
int initialize_usb();
|
|
int write_usb_modules_conf();
|
|
int checkusb (char *partition);
|
|
|
|
/* scsi.c */
|
|
int try_scsi(char *dev);
|
|
int get_boot(char *dev);
|
|
|
|
/* unattended.c */
|
|
int unattended_setup(struct keyvalue *unattendedkv);
|