Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi cdrestart takes a softc parameter, not a periph.
details: https://anonhg.NetBSD.org/src/rev/1b54b2c0ff8a
branches: trunk
changeset: 819870:1b54b2c0ff8a
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Wed Dec 21 00:56:30 2016 +0000
description:
cdrestart takes a softc parameter, not a periph.
diffstat:
sys/dev/scsipi/cd.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r e3f653ea04b0 -r 1b54b2c0ff8a sys/dev/scsipi/cd.c
--- a/sys/dev/scsipi/cd.c Wed Dec 21 00:33:49 2016 +0000
+++ b/sys/dev/scsipi/cd.c Wed Dec 21 00:56:30 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd.c,v 1.336 2016/12/16 14:58:53 mlelstv Exp $ */
+/* $NetBSD: cd.c,v 1.337 2016/12/21 00:56:30 mlelstv Exp $ */
/*-
* Copyright (c) 1998, 2001, 2003, 2004, 2005, 2008 The NetBSD Foundation,
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.336 2016/12/16 14:58:53 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.337 2016/12/21 00:56:30 mlelstv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -846,8 +846,7 @@
* out of memory. Keep this buffer in the queue, and
* retry later.
*/
- callout_reset(&cd->sc_callout, hz / 2, cdrestart,
- periph);
+ callout_reset(&cd->sc_callout, hz / 2, cdrestart, cd);
error = 0;
goto out;
}
Home |
Main Index |
Thread Index |
Old Index