Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add VF Resizable BARs ECN.
details: https://anonhg.NetBSD.org/src/rev/d9c7ffa23f05
branches: trunk
changeset: 348455:d9c7ffa23f05
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Oct 19 04:23:37 2016 +0000
description:
Add VF Resizable BARs ECN.
diffstat:
sys/dev/pci/pci_subr.c | 7 +++++--
sys/dev/pci/pcireg.h | 8 +++++++-
2 files changed, 12 insertions(+), 3 deletions(-)
diffs (62 lines):
diff -r 1a0037c83e08 -r d9c7ffa23f05 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c Wed Oct 19 04:00:04 2016 +0000
+++ b/sys/dev/pci/pci_subr.c Wed Oct 19 04:23:37 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_subr.c,v 1.150 2016/08/22 08:35:42 msaitoh Exp $ */
+/* $NetBSD: pci_subr.c,v 1.151 2016/10/19 04:23:37 msaitoh Exp $ */
/*
* Copyright (c) 1997 Zubin D. Dittia. All rights reserved.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.150 2016/08/22 08:35:42 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.151 2016/10/19 04:23:37 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_pci.h"
@@ -3346,6 +3346,7 @@
/* XXX pci_conf_print_frsq_cap */
/* XXX pci_conf_print_rtr_cap */
/* XXX pci_conf_print_desigvndsp_cap */
+/* XXX pci_conf_print_vf_resiz_bar_cap */
#undef MS
#undef SM
@@ -3428,6 +3429,8 @@
NULL },
{ PCI_EXTCAP_DESIGVNDSP, "Designated Vendor-Specific",
NULL },
+ { PCI_EXTCAP_VF_RESIZ_BAR, "VF Resizable BARs",
+ NULL },
};
static int
diff -r 1a0037c83e08 -r d9c7ffa23f05 sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h Wed Oct 19 04:00:04 2016 +0000
+++ b/sys/dev/pci/pcireg.h Wed Oct 19 04:23:37 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcireg.h,v 1.114 2016/08/17 06:32:01 msaitoh Exp $ */
+/* $NetBSD: pcireg.h,v 1.115 2016/10/19 04:23:37 msaitoh Exp $ */
/*
* Copyright (c) 1995, 1996, 1999, 2000
@@ -1405,6 +1405,7 @@
#define PCI_EXTCAP_FRSQ 0x0021 /* Function Reading Status Queueing */
#define PCI_EXTCAP_RTR 0x0022 /* Readiness Time Reporting */
#define PCI_EXTCAP_DESIGVNDSP 0x0023 /* Designated Vendor-Specific */
+#define PCI_EXTCAP_VF_RESIZ_BAR 0x0024 /* VF Resizable BAR */
/*
* Extended capability ID: 0x0001
@@ -1937,4 +1938,9 @@
* Designated Vendor-Specific
*/
+/*
+ * Extended capability ID: 0x0024
+ * VF Resizable BAR
+ */
+
#endif /* _DEV_PCI_PCIREG_H_ */
Home |
Main Index |
Thread Index |
Old Index