summaryrefslogtreecommitdiffstats
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r--sys/scsi/sd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 49a18f8..bdeb5cc 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -15,7 +15,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*
- * $Id: sd.c,v 1.111 1997/09/21 22:03:14 gibbs Exp $
+ * $Id: sd.c,v 1.112 1997/10/12 08:54:47 joerg Exp $
*/
#include "opt_bounce.h"
@@ -68,7 +68,9 @@ static u_int32_t sdstrats, sdqueues;
makedev(major(DEV), dkmakeminor((U), dkslice(DEV), dkpart(DEV)))
static errval sd_get_parms __P((int unit, int flags));
+#if 0
static errval sd_reassign_blocks __P((int unit, int block));
+#endif
static u_int32_t sd_size __P((int unit, int flags));
static void sdstrategy1 __P((struct buf *));
@@ -727,6 +729,7 @@ sd_size(unit, flags)
return (size);
}
+#if 0
/*
* Tell the device to map out a defective block
*/
@@ -759,6 +762,8 @@ sd_reassign_blocks(unit, block)
NULL,
SCSI_DATA_OUT));
}
+#endif
+
#define b2tol(a) (((unsigned)(a##_1) << 8) + (unsigned)a##_0 )
/*
OpenPOWER on IntegriCloud