summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-06-03 06:48:35 +0000
committermav <mav@FreeBSD.org>2014-06-03 06:48:35 +0000
commit40e2c2f2d81626af81ab80c45321cb6fe26ac9a7 (patch)
treee1dca92052192ac327ddcfaebaaa5700e080c78a /sys/dev/pci
parente871acf5e4e1215e87d652c0645ffd349e7ec4ab (diff)
downloadFreeBSD-src-40e2c2f2d81626af81ab80c45321cb6fe26ac9a7.zip
FreeBSD-src-40e2c2f2d81626af81ab80c45321cb6fe26ac9a7.tar.gz
MFC r266468:
Add IOMMU PCI subclass, found on Tyan S8236 motherboard. Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c1
-rw-r--r--sys/dev/pci/pcireg.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index ee7186e..a180006 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -3782,6 +3782,7 @@ static const struct
{PCIC_BASEPERIPH, PCIS_BASEPERIPH_RTC, 1, "realtime clock"},
{PCIC_BASEPERIPH, PCIS_BASEPERIPH_PCIHOT, 1, "PCI hot-plug controller"},
{PCIC_BASEPERIPH, PCIS_BASEPERIPH_SDHC, 1, "SD host controller"},
+ {PCIC_BASEPERIPH, PCIS_BASEPERIPH_IOMMU, 1, "IOMMU"},
{PCIC_INPUTDEV, -1, 1, "input device"},
{PCIC_INPUTDEV, PCIS_INPUTDEV_KEYBOARD, 1, "keyboard"},
{PCIC_INPUTDEV, PCIS_INPUTDEV_DIGITIZER,1, "digitizer"},
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index afd140f..0d74d55 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -361,6 +361,7 @@
#define PCIS_BASEPERIPH_RTC 0x03
#define PCIS_BASEPERIPH_PCIHOT 0x04
#define PCIS_BASEPERIPH_SDHC 0x05
+#define PCIS_BASEPERIPH_IOMMU 0x06
#define PCIS_BASEPERIPH_OTHER 0x80
#define PCIC_INPUTDEV 0x09
OpenPOWER on IntegriCloud