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.
This commit is contained in:
jonathan 1996-11-15 22:53:36 +00:00
parent d22cdecb45
commit 40bd2b1104
3 changed files with 10 additions and 4 deletions

View File

@ -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 *));

View File

@ -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 <dev/ic/uhavar.h>
#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)

View File

@ -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 *));