-# $OpenBSD: Makefile.hp300,v 1.15 1997/04/16 11:55:54 downsj Exp $
+# $OpenBSD: Makefile.hp300,v 1.16 1997/04/20 07:01:10 downsj Exp $
# $NetBSD: Makefile.hp300,v 1.54 1997/04/01 23:16:41 scottr Exp $
# Makefile for OpenBSD
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dhp300
-CWARNFLAGS= -Werror -Wstrict-prototypes -Wmissing-prototypes
+CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \
+ -Wno-format
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} -msoft-float
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -n -Ttext 0 -e start
-/* $OpenBSD: ac.c,v 1.6 1997/04/16 11:55:56 downsj Exp $
+/* $OpenBSD: ac.c,v 1.7 1997/04/20 07:01:11 downsj Exp $ */
/* $NetBSD: ac.c,v 1.9 1997/04/02 22:37:21 scottr Exp $ */
/*
-/* $OpenBSD: st.c,v 1.8 1997/04/16 11:56:17 downsj Exp $ */
+/* $OpenBSD: st.c,v 1.9 1997/04/20 07:01:12 downsj Exp $ */
/* $NetBSD: st.c,v 1.22 1997/04/02 22:37:38 scottr Exp $ */
/*
#include <hp300/dev/scsivar.h>
#include <hp300/dev/stvar.h>
-static struct scsi_fmt_cdb st_read_cmd = { 6, CMD_READ };
-static struct scsi_fmt_cdb st_write_cmd = { 6, CMD_WRITE };
+static struct scsi_fmt_cdb st_read_cmd = { 6, { CMD_READ } };
+static struct scsi_fmt_cdb st_write_cmd = { 6, { CMD_WRITE } };
#define UNIT(x) (minor(x) & 3)
#define stpunit(x) ((x) & 7)
-/* $OpenBSD: machdep.c,v 1.25 1997/04/17 12:02:34 downsj Exp $ */
+/* $OpenBSD: machdep.c,v 1.26 1997/04/20 07:01:13 downsj Exp $ */
/* $NetBSD: machdep.c,v 1.89 1997/04/09 20:05:20 thorpej Exp $ */
/*
extern char *etext;
unsigned i;
caddr_t v;
- int base, residual, sz;
+ int base, residual;
vm_offset_t minaddr, maxaddr;
vm_size_t size;
#ifdef DEBUG