Module Name: src
Committed By: tsutsui
Date: Sun Oct 13 12:29:42 UTC 2013
Modified Files:
src/sys/arch/xen/xen: xpci_xenbus.c
Log Message:
Fix pasto in previous; pass a correct device_t to config_pending_derc().
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/xen/xen/xpci_xenbus.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/xen/xen/xpci_xenbus.c
diff -u src/sys/arch/xen/xen/xpci_xenbus.c:1.13 src/sys/arch/xen/xen/xpci_xenbus.c:1.14
--- src/sys/arch/xen/xen/xpci_xenbus.c:1.13 Sun Oct 13 06:55:34 2013
+++ src/sys/arch/xen/xen/xpci_xenbus.c Sun Oct 13 12:29:42 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: xpci_xenbus.c,v 1.13 2013/10/13 06:55:34 riz Exp $ */
+/* $NetBSD: xpci_xenbus.c,v 1.14 2013/10/13 12:29:42 tsutsui Exp $ */
/*
* Copyright (c) 2009 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.13 2013/10/13 06:55:34 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.14 2013/10/13 12:29:42 tsutsui Exp $");
#include "opt_xen.h"
@@ -284,7 +284,7 @@ xpci_backend_changed(void *arg, XenbusSt
sc->sc_backend_status = XPCI_STATE_CONNECTED;
/* the devices should be working now */
- config_pending_decr(sc->sc_dksc.sc_dev);
+ config_pending_decr(sc->sc_dev);
break;
default:
panic("bad backend state %d", new_state);