Module Name: src Committed By: ozaki-r Date: Mon May 4 14:08:57 UTC 2015
Modified Files: src/sys/dev/pci: virtioreg.h Log Message: Fix configuration offset when MSI is enabled 24 is correct. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/virtioreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/virtioreg.h diff -u src/sys/dev/pci/virtioreg.h:1.2 src/sys/dev/pci/virtioreg.h:1.3 --- src/sys/dev/pci/virtioreg.h:1.2 Fri Dec 6 02:39:58 2013 +++ src/sys/dev/pci/virtioreg.h Mon May 4 14:08:57 2015 @@ -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. */