summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/aha1742.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/aha1742.c')
-rw-r--r--sys/i386/isa/aha1742.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/sys/i386/isa/aha1742.c b/sys/i386/isa/aha1742.c
index 1f770e2..7f35a77 100644
--- a/sys/i386/isa/aha1742.c
+++ b/sys/i386/isa/aha1742.c
@@ -14,7 +14,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id: aha1742.c,v 1.18 1994/08/20 03:48:38 davidg Exp $
+ * $Id: aha1742.c,v 1.19 1994/08/23 07:52:04 paul Exp $
*/
#include <sys/types.h>
@@ -38,15 +38,11 @@
/* */
#ifdef KERNEL
-# ifdef NetBSD
-# ifdef DDB
+# ifdef DDB
int Debugger();
-# else /* DDB */
+# else /* DDB */
#define Debugger() panic("should call debugger here (adaptec.c)")
-# endif /* DDB */
-# else
-#include "ddb.h"
-#endif /* netbsd */
+# endif /* DDB */
#else /* KERNEL */
#define NAHB 1
#endif /* kernel */
@@ -512,11 +508,7 @@ int
ahb_attach(dev)
struct isa_device *dev;
{
-#ifdef NetBSD
- int unit = dev->id_masunit;
-#else
int unit = dev->id_unit;
-#endif
struct ahb_data *ahb = ahbdata[unit];
/*
OpenPOWER on IntegriCloud