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 IOMMU and the Root Complex Event Collector.
details: https://anonhg.NetBSD.org/src/rev/1e9ee276b127
branches: trunk
changeset: 329784:1e9ee276b127
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Jun 09 11:08:05 2014 +0000
description:
Add IOMMU and the Root Complex Event Collector.
diffstat:
sys/dev/pci/pci_subr.c | 6 ++++--
sys/dev/pci/pcireg.h | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r a1e9198a8f73 -r 1e9ee276b127 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c Mon Jun 09 09:15:48 2014 +0000
+++ b/sys/dev/pci/pci_subr.c Mon Jun 09 11:08:05 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_subr.c,v 1.123 2014/05/30 05:04:21 msaitoh Exp $ */
+/* $NetBSD: pci_subr.c,v 1.124 2014/06/09 11:08:05 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.123 2014/05/30 05:04:21 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.124 2014/06/09 11:08:05 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_pci.h"
@@ -317,6 +317,8 @@
{ "RTC", PCI_SUBCLASS_SYSTEM_RTC, pci_interface_rtc,},
{ "PCI Hot-Plug", PCI_SUBCLASS_SYSTEM_PCIHOTPLUG, NULL, },
{ "SD Host Controller", PCI_SUBCLASS_SYSTEM_SDHC, NULL, },
+ { "IOMMU", PCI_SUBCLASS_SYSTEM_IOMMU, NULL, },
+ { "Root Complex Event Collector", PCI_SUBCLASS_SYSTEM_RCEC, NULL, },
{ "miscellaneous", PCI_SUBCLASS_SYSTEM_MISC, NULL, },
{ NULL, 0, NULL, },
};
diff -r a1e9198a8f73 -r 1e9ee276b127 sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h Mon Jun 09 09:15:48 2014 +0000
+++ b/sys/dev/pci/pcireg.h Mon Jun 09 11:08:05 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcireg.h,v 1.94 2014/05/30 03:42:38 msaitoh Exp $ */
+/* $NetBSD: pcireg.h,v 1.95 2014/06/09 11:08:05 msaitoh Exp $ */
/*
* Copyright (c) 1995, 1996, 1999, 2000
@@ -280,6 +280,8 @@
#define PCI_INTERFACE_RTC_ISA 0x01
#define PCI_SUBCLASS_SYSTEM_PCIHOTPLUG 0x04
#define PCI_SUBCLASS_SYSTEM_SDHC 0x05
+#define PCI_SUBCLASS_SYSTEM_IOMMU 0x06
+#define PCI_SUBCLASS_SYSTEM_RCEC 0x07
#define PCI_SUBCLASS_SYSTEM_MISC 0x80
/* 0x09 input subclasses */
Home |
Main Index |
Thread Index |
Old Index