--- embedtools/inc/defs.h 2009/11/12 10:35:55 1.1.1.1 +++ embedtools/inc/defs.h 2009/11/17 14:56:03 1.1.1.1.2.6 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: defs.h,v 1.1.1.1 2009/11/12 10:35:55 misho Exp $ + * $Id: defs.h,v 1.1.1.1.2.6 2009/11/17 14:56:03 misho Exp $ * *************************************************************************/ #ifndef __DEFS_H @@ -11,6 +11,9 @@ #define MAX_STR 256 +#define TFTP_BUF 516 +#define TFTP_RETRY 7 +#define TFTP_TIMEOUT 3 #define DEFAULT_TIMEOUT "300" #define DEFAULT_CONFIG "/etc/cfexec.conf" @@ -19,11 +22,16 @@ #define DEFAULT_DEVICE "/dev/ufs/AITBSDonCF" #define DEFAULT_CHROOT "/" #define DEFAULT_TMP "/tmp" +#define DEFAULT_TFTP 69 +#define DEFAULT_TFTPDIR "/cf/tftpboot" +#define FIRMWARE_IMG "aitbsd-firmware" +#define FIRMWARE_BAK "aitbsd-firmware.old" + #define VERB(x) if ((x) <= Verbose) -extern sl_config cfg; +extern int Verbose; #endif