Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb make compile with UISDATA_DEBUG
details: https://anonhg.NetBSD.org/src/rev/974f43890e37
branches: trunk
changeset: 356747:974f43890e37
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Oct 10 16:44:24 2017 +0000
description:
make compile with UISDATA_DEBUG
diffstat:
sys/dev/usb/umass_isdata.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r e7bce72ae801 -r 974f43890e37 sys/dev/usb/umass_isdata.c
--- a/sys/dev/usb/umass_isdata.c Tue Oct 10 16:30:23 2017 +0000
+++ b/sys/dev/usb/umass_isdata.c Tue Oct 10 16:44:24 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umass_isdata.c,v 1.34 2017/10/07 16:05:33 jdolecek Exp $ */
+/* $NetBSD: umass_isdata.c,v 1.35 2017/10/10 16:44:24 jdolecek Exp $ */
/*
* TODO:
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_isdata.c,v 1.34 2017/10/07 16:05:33 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_isdata.c,v 1.35 2017/10/10 16:44:24 jdolecek Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -373,7 +373,7 @@
"count=%d multi=%d\n",
__func__, ata_bio->blkno,
(ata_bio->flags & ATA_LBA) != 0, cyl, head, sect,
- ata.ac_sector_count, ata_bio->multi));
+ ata.ac_sector_count, drv->multi));
DPRINTF((" data=%p bcount=%ld, drive=%d\n", ata_bio->databuf,
ata_bio->bcount, drv->drive));
sc->sc_methods->wire_xfer(sc, drv->drive, &ata, sizeof(ata),
@@ -562,7 +562,7 @@
}
if (xfer->c_ata_c.flags & (AT_ERROR | AT_TIMEOU | AT_DF)) {
DPRINTF(("uisdata_get_parms: ata_c.flags=0x%x\n",
- ata_c.flags));
+ xfer->c_ata_c.flags));
rv = CMD_ERR;
goto out;
}
Home |
Main Index |
Thread Index |
Old Index