diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
| commit | 4a11ca4e29ff701a15b6c4de4e99483f97182ea6 (patch) | |
| tree | d25f628a9aba608f64fe75989d2287c6480e8b0b /sys/scsi/sd.c | |
| parent | fbff0da4c8b49e614414ea85874ca2eace160515 (diff) | |
Notes
Diffstat (limited to 'sys/scsi/sd.c')
| -rw-r--r-- | sys/scsi/sd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 49a18f8d2185..bdeb5ccab037 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 ) /* |
