Make it compile with DEBUG after SCSI changes.
This commit is contained in:
parent
beb69f2aad
commit
e67bc465a2
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: umassbus.c,v 1.4 2001/04/25 17:53:42 bouyer Exp $ */
|
||||
/* $NetBSD: umassbus.c,v 1.5 2001/04/28 14:48:40 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
@ -552,7 +552,7 @@ umass_atapi_probe_device(struct atapibus_softc *atapi, int target)
|
||||
return;
|
||||
}
|
||||
|
||||
DIF(UDMASS_UPPER, periph->periph_dbflags |= DEBUGLEVEL);
|
||||
DIF(UDMASS_UPPER, periph->periph_dbflags |= 1); /* XXX 1 */
|
||||
periph->periph_channel = chan;
|
||||
periph->periph_switch = &atapi_probe_periphsw;
|
||||
periph->periph_target = target;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: usscanner.c,v 1.7 2001/04/25 17:53:43 bouyer Exp $ */
|
||||
/* $NetBSD: usscanner.c,v 1.8 2001/04/28 14:48:39 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
@ -574,7 +574,7 @@ usscanner_sensecmd_cb(usbd_xfer_handle xfer, usbd_private_handle priv,
|
||||
|
||||
#ifdef USSCANNER_DEBUG
|
||||
if (usscannerdebug > 15)
|
||||
xs->xs_periph->periph_flags |= DEBUGLEVEL;
|
||||
xs->xs_periph->periph_flags |= 1; /* XXX 1 */
|
||||
|
||||
if (sc->sc_state != UAS_SENSECMD) {
|
||||
printf("%s: !UAS_SENSECMD\n", USBDEVNAME(sc->sc_dev));
|
||||
@ -620,7 +620,7 @@ usscanner_cmd_cb(usbd_xfer_handle xfer, usbd_private_handle priv,
|
||||
|
||||
#ifdef USSCANNER_DEBUG
|
||||
if (usscannerdebug > 15)
|
||||
xs->xs_periph->periph_flags |= DEBUGLEVEL;
|
||||
xs->xs_periph->periph_flags |= 1; /* XXX 1 */
|
||||
|
||||
if (sc->sc_state != UAS_CMD) {
|
||||
printf("%s: !UAS_CMD\n", USBDEVNAME(sc->sc_dev));
|
||||
|
Loading…
Reference in New Issue
Block a user