diff options
author | dg <dg@FreeBSD.org> | 1994-08-27 16:14:39 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-27 16:14:39 +0000 |
commit | 4d4250da00e8f202ebcf4523fa25568d04b116ad (patch) | |
tree | b3ca65b5c2af24b8ce278da15822a7fd638bbeb5 /sys/i386/eisa | |
parent | c900d4c13e16169b2482efbfb34820b08862bc16 (diff) | |
download | FreeBSD-src-4d4250da00e8f202ebcf4523fa25568d04b116ad.zip FreeBSD-src-4d4250da00e8f202ebcf4523fa25568d04b116ad.tar.gz |
1) Changed ddb into a option rather than a pseudo-device (use options DDB
in your kernel config now).
2) Added ps ddb function from 1.1.5. Cleaned it up a bit and moved into its
own file.
3) Added \r handing in db_printf.
4) Added missing memory usage stats to statclock().
5) Added dummy function to pseudo_set so it will be emitted if there
are no other pseudo declarations.
Diffstat (limited to 'sys/i386/eisa')
-rw-r--r-- | sys/i386/eisa/aha1742.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/sys/i386/eisa/aha1742.c b/sys/i386/eisa/aha1742.c index 1f770e2..7f35a77 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.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]; /* |