Only call the debugger if DDB is defined.
This commit is contained in:
parent
eb473e57bd
commit
c117a7f133
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: asc.c,v 1.1 1996/03/07 23:54:28 mark Exp $ */
|
/* $NetBSD: asc.c,v 1.2 1996/03/13 20:28:50 mark Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1996 Mark Brinicombe
|
* Copyright (c) 1996 Mark Brinicombe
|
||||||
@ -250,7 +250,11 @@ asc_dmago(dev, addr, count, flags)
|
|||||||
int count, flags;
|
int count, flags;
|
||||||
{
|
{
|
||||||
printf("asc_dmago\n");
|
printf("asc_dmago\n");
|
||||||
|
#ifdef DDB
|
||||||
Debugger();
|
Debugger();
|
||||||
|
#else
|
||||||
|
panic("Hit a brick wall\n");
|
||||||
|
#endif
|
||||||
#if 0
|
#if 0
|
||||||
volatile struct sdmac *sdp;
|
volatile struct sdmac *sdp;
|
||||||
|
|
||||||
@ -361,7 +365,11 @@ asc_dmanext(dev)
|
|||||||
struct sbic_softc *dev;
|
struct sbic_softc *dev;
|
||||||
{
|
{
|
||||||
printf("asc_dmanext\n");
|
printf("asc_dmanext\n");
|
||||||
|
#ifdef DDB
|
||||||
Debugger();
|
Debugger();
|
||||||
|
#else
|
||||||
|
panic("Hit a brick wall\n");
|
||||||
|
#endif
|
||||||
#if 0
|
#if 0
|
||||||
volatile struct sdmac *sdp;
|
volatile struct sdmac *sdp;
|
||||||
int i, stat;
|
int i, stat;
|
||||||
@ -447,7 +455,12 @@ asc_intr(sc)
|
|||||||
|
|
||||||
int kvtop()
|
int kvtop()
|
||||||
{
|
{
|
||||||
|
printf("kvtop\n");
|
||||||
|
#ifdef DDB
|
||||||
Debugger();
|
Debugger();
|
||||||
|
#else
|
||||||
|
panic("Hit a brick wall\n");
|
||||||
|
#endif
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user