summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-11-16 02:45:36 +0000
committerbde <bde@FreeBSD.org>1994-11-16 02:45:36 +0000
commit6d4cb0cef21784d16c879266491dde3aa38247fc (patch)
treee9d2af8a79b03fe790875fcd2ea6b491c521f704 /sys/i386/eisa
parent53e66dfa73daaa6b76e7ee04e5d621bbce158f31 (diff)
downloadFreeBSD-src-6d4cb0cef21784d16c879266491dde3aa38247fc.zip
FreeBSD-src-6d4cb0cef21784d16c879266491dde3aa38247fc.tar.gz
The previous revision forgot to define fatal_if_no_DDB() when there is DDB.
Diffstat (limited to 'sys/i386/eisa')
-rw-r--r--sys/i386/eisa/aha1742.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/i386/eisa/aha1742.c b/sys/i386/eisa/aha1742.c
index 8ae9b1de..aaf11c7 100644
--- a/sys/i386/eisa/aha1742.c
+++ b/sys/i386/eisa/aha1742.c
@@ -14,7 +14,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id: aha1742.c,v 1.24 1994/10/23 21:27:05 wollman Exp $
+ * $Id: aha1742.c,v 1.25 1994/11/15 14:53:09 bde Exp $
*/
#include <sys/types.h>
@@ -39,8 +39,12 @@
/* */
-#if defined(KERNEL) && !defined(DDB)
+#ifdef KERNEL
+# ifdef DDB
+#define fatal_if_no_DDB()
+# else
#define fatal_if_no_DDB() panic("panic for historical reasons")
+# endif
#endif
typedef unsigned long int physaddr;
OpenPOWER on IntegriCloud