summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_base.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-27 16:14:39 +0000
committerdg <dg@FreeBSD.org>1994-08-27 16:14:39 +0000
commit4d4250da00e8f202ebcf4523fa25568d04b116ad (patch)
treeb3ca65b5c2af24b8ce278da15822a7fd638bbeb5 /sys/scsi/scsi_base.c
parentc900d4c13e16169b2482efbfb34820b08862bc16 (diff)
downloadFreeBSD-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/scsi_base.c')
-rw-r--r--sys/scsi/scsi_base.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c
index 8ca4900..8cf9584 100644
--- a/sys/scsi/scsi_base.c
+++ b/sys/scsi/scsi_base.c
@@ -8,7 +8,7 @@
* file.
*
* Written by Julian Elischer (julian@dialix.oz.au)
- * $Id: scsi_base.c,v 1.9 1994/05/25 09:13:20 rgrimes Exp $
+ * $Id: scsi_base.c,v 1.10 1994/08/20 03:48:58 davidg Exp $
*/
#define SPLSD splbio
@@ -28,19 +28,11 @@
static errval sc_err1(struct scsi_xfer *);
static errval scsi_interpret_sense(struct scsi_xfer *);
-#ifdef NetBSD
#ifdef DDB
int Debugger();
#else /* DDB */
#define Debugger()
#endif /* DDB */
-#else /* NetBSD */
-#include "ddb.h"
-#if NDDB > 0
-#else /* NDDB > 0 */
-#define Debugger()
-#endif /* NDDB > 0 */
-#endif
struct scsi_xfer *next_free_xs;
OpenPOWER on IntegriCloud