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/scsi/cd.c | |
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/scsi/cd.c')
-rw-r--r-- | sys/scsi/cd.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 899db93..d0bff56 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * - * $Id: cd.c,v 1.18 1994/04/20 07:06:51 davidg Exp $ + * $Id: cd.c,v 1.19 1994/05/25 09:13:15 rgrimes Exp $ */ #define SPLCD splbio @@ -50,11 +50,10 @@ static errval cd_read_toc(u_int32, u_int32, u_int32, struct cd_toc_entry *, int32 cdstrats, cdqueues; -#include <ddb.h> -#if NDDB > 0 -#else /* NDDB > 0 */ +#ifdef DDB +#else /* DDB */ #define Debugger() -#endif /* NDDB > 0 */ +#endif /* DDB */ #define PAGESIZ 4096 #define SECSIZE 2048 /* XXX */ /* default only */ |