diff --git a/sys/arch/sandpoint/stand/netboot/Makefile b/sys/arch/sandpoint/stand/netboot/Makefile index 68fb782ed9f7..e61ac5255a02 100644 --- a/sys/arch/sandpoint/stand/netboot/Makefile +++ b/sys/arch/sandpoint/stand/netboot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2010/05/02 13:31:14 phx Exp $ +# $NetBSD: Makefile,v 1.17 2010/05/17 17:50:08 phx Exp $ S= ${.CURDIR}/../../../.. @@ -9,9 +9,8 @@ CLEANFILES+= vers.c vers.o ${PROG} ${PROG}.bin CFLAGS+= -Wall -Wno-main -ffreestanding -msoft-float -mmultiple CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith CPPFLAGS+= -D_STANDALONE -DSUPPORT_DHCP -CPPFLAGS+= -DCONSNAME=\"com\" -DCONSPORT=0x3f8 -DCONSSPEED=115200 +#CPPFLAGS+= -DCONSNAME=\"com\" -DCONSPORT=0x3f8 -DCONSSPEED=115200 #CPPFLAGS+= -DCONSNAME=\"eumb\" -DCONSPORT=0x4600 -DCONSSPEED=57600 -#CPPFLAGS+= -DTICKS_PER_SEC=(133333333/4) #CPPFLAGS+= -DSTART_DDB_SESSION CPPFLAGS+= -nostdinc -I. -I${.OBJDIR} -I${S} DBG= -Os diff --git a/sys/arch/sandpoint/stand/netboot/globals.h b/sys/arch/sandpoint/stand/netboot/globals.h index b5bd31b11421..28edd75c98a3 100644 --- a/sys/arch/sandpoint/stand/netboot/globals.h +++ b/sys/arch/sandpoint/stand/netboot/globals.h @@ -1,4 +1,4 @@ -/* $NetBSD: globals.h,v 1.15 2010/05/16 11:27:49 phx Exp $ */ +/* $NetBSD: globals.h,v 1.16 2010/05/17 17:50:08 phx Exp $ */ /* clock feed */ #ifndef EXT_CLK_FREQ @@ -16,6 +16,16 @@ extern int brdtype; #define BRD_STORCENTER 103 #define BRD_UNKNOWN -1 +#ifndef CONSNAME +#define CONSNAME "com" +#endif +#ifndef CONSPORT +#define CONSPORT 0x3f8 +#endif +#ifndef CONSSPEED +#define CONSSPEED 115200 +#endif + extern char *consname; extern int consport; extern int consspeed;