summaryrefslogtreecommitdiffstats
path: root/sys/scsi/sd.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/sd.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/sd.c')
-rw-r--r--sys/scsi/sd.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 691430e..65b20df 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*
- * $Id: sd.c,v 1.23 1994/04/20 07:06:57 davidg Exp $
+ * $Id: sd.c,v 1.24 1994/05/25 09:13:32 rgrimes Exp $
*/
#define SPLSD splbio
@@ -42,19 +42,11 @@
u_int32 sdstrats, sdqueues;
-#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(s)
-#endif /* NDDB > 0 */
-#endif
#define PAGESIZ 4096
#define SECSIZE 512
OpenPOWER on IntegriCloud