Module Name:    src
Committed By:   jakllsch
Date:           Mon Mar  5 16:53:59 UTC 2012

Modified Files:
        src/sys/arch/xen/xen: xpci_xenbus.c

Log Message:
As per xpci_conf_read, use size argument in xpci_conf_write.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 src/sys/arch/xen/xen/xpci_xenbus.c:1.11
--- src/sys/arch/xen/xen/xpci_xenbus.c:1.10	Thu Feb  2 19:43:01 2012
+++ src/sys/arch/xen/xen/xpci_xenbus.c	Mon Mar  5 16:53:59 2012
@@ -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 @@ xpci_conf_write(pci_chipset_tag_t pc, pc
 	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));

Reply via email to