diff options
| -rw-r--r-- | sys/scsi/scsi_base.c | 4 | ||||
| -rw-r--r-- | sys/scsi/scsiconf.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index 2ac75810d076..fc996dfe9e28 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.51 1997/09/21 22:03:07 gibbs Exp $ + * $Id: scsi_base.c,v 1.52 1997/10/12 08:54:46 joerg Exp $ */ #include "opt_bounce.h" @@ -36,8 +36,10 @@ static errval scsi_interpret_sense(struct scsi_xfer *); static struct scsi_xfer *get_xs( struct scsi_link *sc_link, u_int32_t flags); static void free_xs(struct scsi_xfer *xs, struct scsi_link *sc_link, u_int32_t flags); +#ifdef SCSIDEBUG static void show_mem(unsigned char *address, u_int32_t num); static void show_scsi_xs (struct scsi_xfer *); +#endif #ifdef notyet static int scsi_sense_qualifiers (struct scsi_xfer *, int *, int *); diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index 7a0ad1a127c4..56baed1c114b 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -16,7 +16,7 @@ * * New configuration setup: dufault@hda.com * - * $Id: scsiconf.c,v 1.96 1997/10/19 09:37:49 joerg Exp $ + * $Id: scsiconf.c,v 1.97 1997/11/06 08:29:50 joerg Exp $ */ #include "opt_scsi.h" @@ -1301,8 +1301,10 @@ scsi_probedev(sc_link, maybe_more, type_p) struct scsi_link *sc_link; int *type_p; { +#ifdef SCSIDEBUG u_int8_t target = sc_link->target; u_int8_t lu = sc_link->lun; +#endif struct scsidevs *bestmatch = (struct scsidevs *) 0; int dtype = 0; char *desc; |
