Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen As per xpci_conf_read, use size argument in...
details: https://anonhg.NetBSD.org/src/rev/fbd6e470f6fa
branches: trunk
changeset: 777838:fbd6e470f6fa
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Mon Mar 05 16:53:59 2012 +0000
description:
As per xpci_conf_read, use size argument in xpci_conf_write.
diffstat:
sys/arch/xen/xen/xpci_xenbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3b57331f5bfa -r fbd6e470f6fa sys/arch/xen/xen/xpci_xenbus.c
--- a/sys/arch/xen/xen/xpci_xenbus.c Mon Mar 05 16:21:44 2012 +0000
+++ b/sys/arch/xen/xen/xpci_xenbus.c Mon Mar 05 16:53:59 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xpci_xenbus.c,v 1.10 2012/02/02 19:43:01 tls Exp $ */
+/* $NetBSD: xpci_xenbus.c,v 1.11 2012/03/05 16:53:59 jakllsch Exp $ */
/*
* Copyright (c) 2009 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.10 2012/02/02 19:43:01 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.11 2012/03/05 16:53:59 jakllsch Exp $");
#include "opt_xen.h"
@@ -499,7 +499,7 @@
op.bus = bus;
op.devfn = (dev << 3) | func;
op.offset = reg;
- op.size = 4;
+ op.size = size;
op.value = data;
xpci_do_op(&op);
DPRINTF((" err %d\n", op.err));
Home |
Main Index |
Thread Index |
Old Index