diff options
Diffstat (limited to 'sys/arch/sun3/dev/si.c')
-rw-r--r-- | sys/arch/sun3/dev/si.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/sun3/dev/si.c b/sys/arch/sun3/dev/si.c index 9b32b6ae59c..f73e98f71be 100644 --- a/sys/arch/sun3/dev/si.c +++ b/sys/arch/sun3/dev/si.c @@ -1,4 +1,4 @@ -/* $OpenBSD: si.c,v 1.9 1999/01/11 05:12:02 millert Exp $ */ +/* $OpenBSD: si.c,v 1.10 2000/06/06 20:51:41 miod Exp $ */ /* $NetBSD: si.c,v 1.31 1996/11/20 18:56:59 gwr Exp $ */ /*- @@ -95,6 +95,10 @@ #include <machine/obio.h> #include <machine/dvma.h> +#ifndef DDB +#define Debugger() +#endif + #define DEBUG XXX #include <dev/ic/ncr5380reg.h> @@ -365,8 +369,10 @@ si_dma_alloc(ncr_sc) * XXX - Should just segment these... */ if (xlen > MAX_DMA_LEN) { +#ifdef DEBUG printf("si_dma_alloc: excessive xlen=0x%x\n", xlen); Debugger(); +#endif ncr_sc->sc_datalen = xlen = MAX_DMA_LEN; } |