Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix configuration offset when MSI is enabled
details: https://anonhg.NetBSD.org/src/rev/7c6a4f8bbd11
branches: trunk
changeset: 808100:7c6a4f8bbd11
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon May 04 14:08:57 2015 +0000
description:
Fix configuration offset when MSI is enabled
24 is correct.
diffstat:
sys/dev/pci/virtioreg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3543298ec241 -r 7c6a4f8bbd11 sys/dev/pci/virtioreg.h
--- a/sys/dev/pci/virtioreg.h Mon May 04 14:02:13 2015 +0000
+++ b/sys/dev/pci/virtioreg.h Mon May 04 14:08:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: virtioreg.h,v 1.2 2013/12/06 02:39:58 yamt Exp $ */
+/* $NetBSD: virtioreg.h,v 1.3 2015/05/04 14:08:57 ozaki-r Exp $ */
/*
* Copyright (c) 2010 Minoura Makoto.
@@ -95,7 +95,7 @@
#define VIRTIO_CONFIG_ISR_CONFIG_CHANGE 2
#define VIRTIO_CONFIG_CONFIG_VECTOR 20 /* 16bit, optional */
#define VIRTIO_CONFIG_DEVICE_CONFIG_NOMSI 20
-#define VIRTIO_CONFIG_DEVICE_CONFIG_MSI 22
+#define VIRTIO_CONFIG_DEVICE_CONFIG_MSI 24
/* Virtqueue */
/* This marks a buffer as continuing via the next field. */
Home |
Main Index |
Thread Index |
Old Index