--- embedtools/inc/defs.h 2009/11/13 16:25:38 1.1.1.1.2.2 +++ 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.2.2 2009/11/13 16:25:38 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,8 +22,11 @@ #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)