Date: Tue, 6 May 2014 12:48:03 +0300 From: Dmitry Luhtionov <dmitryluhtionov@gmail.com> To: freebsd-current@freebsd.org Subject: [Patch] Display IOMMU pci subclass Message-ID: <CAAYMRQd9tVnDc9Kq5ySZ1YXM64Vd5DwuFn3UbW5KxP0z0G%2BKNA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
pciconf output, found on Tyan S8236 motherboard
none0@pci0:0:0:2: class=0x080600 card=0x5a231002 chip=0x5a231002
rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'RD990 I/O Memory Management Unit (IOMMU)'
class = base peripheral
References:
http://www.pcisig.com/specifications/conventional/ECN_subclass_IB.pdf
http://www.pcisig.com/specifications/pciexpress/specifications/ECN-Change_Root_Complex_Event_Collector_Class_Code_2012-12-13.pdf
[-- Attachment #2 --]
--- /usr/src/sys/dev/pci/pcireg.h.orig 2014-05-06 12:04:18.000000000 +0300
+++ /usr/src/sys/dev/pci/pcireg.h 2014-05-06 12:14:53.000000000 +0300
@@ -321,6 +321,7 @@
#define PCIS_NETWORK_ISDN 0x04
#define PCIS_NETWORK_WORLDFIP 0x05
#define PCIS_NETWORK_PICMG 0x06
+#define PCIS_NETWORK_INFINIBAND 0x07
#define PCIS_NETWORK_OTHER 0x80
#define PCIC_DISPLAY 0x03
@@ -384,6 +385,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
--- /usr/src/usr.sbin/pciconf/pciconf.c.orig 2014-01-24 15:30:20.000000000 +0200
+++ /usr/src/usr.sbin/pciconf/pciconf.c 2014-05-06 12:38:43.000000000 +0300
@@ -466,6 +466,7 @@
{PCIC_BASEPERIPH, PCIS_BASEPERIPH_RTC, "realtime clock"},
{PCIC_BASEPERIPH, PCIS_BASEPERIPH_PCIHOT, "PCI hot-plug controller"},
{PCIC_BASEPERIPH, PCIS_BASEPERIPH_SDHC, "SD host controller"},
+ {PCIC_BASEPERIPH, PCIS_BASEPERIPH_IOMMU, "IOMMU"},
{PCIC_INPUTDEV, -1, "input device"},
{PCIC_INPUTDEV, PCIS_INPUTDEV_KEYBOARD, "keyboard"},
{PCIC_INPUTDEV, PCIS_INPUTDEV_DIGITIZER,"digitizer"},
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAYMRQd9tVnDc9Kq5ySZ1YXM64Vd5DwuFn3UbW5KxP0z0G%2BKNA>
