this used the wrong cpp variable for debugging so it does not need opt_usb.h
after all.
This commit is contained in:
parent
aa3786b9b6
commit
df24e3a7e7
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: umass_scsipi.c,v 1.47 2013/01/05 01:30:17 christos Exp $ */
|
/* $NetBSD: umass_scsipi.c,v 1.48 2013/01/05 14:54:06 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2001, 2003, 2012 The NetBSD Foundation, Inc.
|
* Copyright (c) 2001, 2003, 2012 The NetBSD Foundation, Inc.
|
||||||
@ -31,11 +31,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.47 2013/01/05 01:30:17 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.48 2013/01/05 14:54:06 christos Exp $");
|
||||||
|
|
||||||
#ifdef _KERNEL_OPT
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_umass.h"
|
#include "opt_umass.h"
|
||||||
#include "opt_usb.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "atapibus.h"
|
#include "atapibus.h"
|
||||||
@ -234,7 +233,7 @@ umass_scsipi_request(struct scsipi_channel *chan,
|
|||||||
periph->periph_target, periph->periph_lun,
|
periph->periph_target, periph->periph_lun,
|
||||||
xs, xs->cmd->opcode, xs->datalen,
|
xs, xs->cmd->opcode, xs->datalen,
|
||||||
periph->periph_quirks, xs->xs_control & XS_CTL_POLL));
|
periph->periph_quirks, xs->xs_control & XS_CTL_POLL));
|
||||||
#if defined(USB_DEBUG) && defined(SCSIPI_DEBUG)
|
#if defined(UMASS_DEBUG) && defined(SCSIPI_DEBUG)
|
||||||
if (umassdebug & UDMASS_SCSI)
|
if (umassdebug & UDMASS_SCSI)
|
||||||
show_scsipi_xs(xs);
|
show_scsipi_xs(xs);
|
||||||
else if (umassdebug & ~UDMASS_CMD)
|
else if (umassdebug & ~UDMASS_CMD)
|
||||||
|
Loading…
Reference in New Issue
Block a user