From 40bd2b1104ea9c34e096f63a73726571c33e7ad8 Mon Sep 17 00:00:00 2001 From: jonathan Date: Fri, 15 Nov 1996 22:53:36 +0000 Subject: [PATCH] Fix front-ends of split uha driver to compile when DDB is not configured: Propagate Debugger() macro from uha.c to uha_{eisa,isa}.c. update file names accordingly. --- sys/dev/eisa/uha_eisa.c | 5 ++++- sys/dev/ic/uha.c | 4 ++-- sys/dev/isa/uha_isa.c | 5 ++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/sys/dev/eisa/uha_eisa.c b/sys/dev/eisa/uha_eisa.c index 5f55e1a91359..02e1ddd8c9d3 100644 --- a/sys/dev/eisa/uha_eisa.c +++ b/sys/dev/eisa/uha_eisa.c @@ -1,4 +1,4 @@ -/* $NetBSD: uha_eisa.c,v 1.5 1996/10/21 22:31:07 thorpej Exp $ */ +/* $NetBSD: uha_eisa.c,v 1.6 1996/11/15 22:53:39 jonathan Exp $ */ /* * Copyright (c) 1994, 1996 Charles M. Hannum. All rights reserved. @@ -59,6 +59,9 @@ struct cfattach uha_eisa_ca = { sizeof(struct uha_softc), uha_eisa_match, uha_eisa_attach }; +#ifndef DDB +#define Debugger() panic("should call debugger here (uha_eisa.c)") +#endif /* ! DDB */ #define KVTOPHYS(x) vtophys(x) int u24_find __P((bus_space_tag_t, bus_space_handle_t, struct uha_softc *)); diff --git a/sys/dev/ic/uha.c b/sys/dev/ic/uha.c index d8c05682def0..e0221546e56f 100644 --- a/sys/dev/ic/uha.c +++ b/sys/dev/ic/uha.c @@ -1,4 +1,4 @@ -/* $NetBSD: uha.c,v 1.4 1996/11/12 20:57:43 mycroft Exp $ */ +/* $NetBSD: uha.c,v 1.5 1996/11/15 22:53:36 jonathan Exp $ */ #undef UHADEBUG #ifdef DDB @@ -80,7 +80,7 @@ #include #ifndef DDB -#define Debugger() panic("should call debugger here (ultra14f.c)") +#define Debugger() panic("should call debugger here (uha.c)") #endif /* ! DDB */ #define KVTOPHYS(x) vtophys(x) diff --git a/sys/dev/isa/uha_isa.c b/sys/dev/isa/uha_isa.c index 223025f4084b..813492070545 100644 --- a/sys/dev/isa/uha_isa.c +++ b/sys/dev/isa/uha_isa.c @@ -1,4 +1,4 @@ -/* $NetBSD: uha_isa.c,v 1.5 1996/10/21 22:41:21 thorpej Exp $ */ +/* $NetBSD: uha_isa.c,v 1.6 1996/11/15 22:53:41 jonathan Exp $ */ /* * Copyright (c) 1994, 1996 Charles M. Hannum. All rights reserved. @@ -58,6 +58,9 @@ struct cfattach uha_isa_ca = { sizeof(struct uha_softc), uha_isa_probe, uha_isa_attach }; +#ifndef DDB +#define Debugger() panic("should call debugger here (uha_isa.c)") +#endif /* ! DDB */ #define KVTOPHYS(x) vtophys(x) int u14_find __P((bus_space_tag_t, bus_space_handle_t, struct uha_softc *));