diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-18 15:09:03 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-18 15:09:03 +0000 |
commit | 17e4ae72a78d51c260502f7562f5e3e51ea465c5 (patch) | |
tree | b94de261e57a7197514664971ce3a077371b26d3 /sys/arch/aviion/stand/libsa/libsa.h | |
parent | 62f2a437013e836bee23ffbf58501094084626f3 (diff) |
Parse commandline options in netboot, and force the onboard ethernet address
to be 00:00:00:00:00:00 if `-z' is passed; this allows netboot to work on a
machine which has lost its nvram (despite the ethernet address not being
stored in nvram at all, stupid prom can't be bothered to get it right...).
Crank netboot version.
Diffstat (limited to 'sys/arch/aviion/stand/libsa/libsa.h')
-rw-r--r-- | sys/arch/aviion/stand/libsa/libsa.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/aviion/stand/libsa/libsa.h b/sys/arch/aviion/stand/libsa/libsa.h index 47e96d5636d..34899a06018 100644 --- a/sys/arch/aviion/stand/libsa/libsa.h +++ b/sys/arch/aviion/stand/libsa/libsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: libsa.h,v 1.1 2006/05/16 22:48:18 miod Exp $ */ +/* $OpenBSD: libsa.h,v 1.2 2010/04/18 15:09:00 miod Exp $ */ /* * libsa prototypes @@ -6,5 +6,9 @@ #include <machine/prom.h> +extern int boothowto; + +#define BOOT_ETHERNET_ZERO 0x0001 + void exec_aout(char *, const char *, int, int, int); -int parse_args(char *, char **); +int parse_args(char *, char **, int); |