Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/dev/mscp Pull up following revision(s) (requested by ...
details: https://anonhg.NetBSD.org/src/rev/45129936dc84
branches: netbsd-6
changeset: 775751:45129936dc84
user: riz <riz%NetBSD.org@localhost>
date: Sun Mar 31 20:36:23 2013 +0000
description:
Pull up following revision(s) (requested by martin in ticket #857):
sys/dev/mscp/mscp_subr.c: revision 1.45
Fix device_t split glitch
diffstat:
sys/dev/mscp/mscp_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 61a8220e5412 -r 45129936dc84 sys/dev/mscp/mscp_subr.c
--- a/sys/dev/mscp/mscp_subr.c Sun Mar 31 20:34:27 2013 +0000
+++ b/sys/dev/mscp/mscp_subr.c Sun Mar 31 20:36:23 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mscp_subr.c,v 1.41.18.2 2012/07/12 17:17:27 riz Exp $ */
+/* $NetBSD: mscp_subr.c,v 1.41.18.3 2013/03/31 20:36:23 riz Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
@@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.41.18.2 2012/07/12 17:17:27 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.41.18.3 2013/03/31 20:36:23 riz Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -549,7 +549,7 @@
void
mscp_strategy(struct buf *bp, device_t usc)
{
- struct mscp_softc *mi = (void *)usc;
+ struct mscp_softc *mi = device_private(usc);
int s = spluba();
bufq_put(mi->mi_resq, bp);
Home |
Main Index |
Thread Index |
Old Index