Add IOMMU and the Root Complex Event Collector.
This commit is contained in:
parent
e4ae04a902
commit
34662ef23f
@ -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 @@ static const struct pci_class pci_subclass_system[] = {
|
||||
{ "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, },
|
||||
};
|
||||
|
@ -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 @@ typedef u_int8_t pci_revision_t;
|
||||
#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 */
|
||||
|
Loading…
Reference in New Issue
Block a user