Date: Fri, 13 Nov 2015 22:33:51 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r290804 - in stable: 10/usr.sbin/pciconf 9/usr.sbin/pciconf Message-ID: <201511132233.tADMXp4M049375@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Fri Nov 13 22:33:51 2015 New Revision: 290804 URL: https://svnweb.freebsd.org/changeset/base/290804 Log: MFC 290412: Note if relaxed ordering or no snoop is enabled for each PCI-express device. Modified: stable/10/usr.sbin/pciconf/cap.c Directory Properties: stable/10/ (props changed) Changes in other areas also in this revision: Modified: stable/9/usr.sbin/pciconf/cap.c Directory Properties: stable/9/usr.sbin/pciconf/ (props changed) Modified: stable/10/usr.sbin/pciconf/cap.c ============================================================================== --- stable/10/usr.sbin/pciconf/cap.c Fri Nov 13 22:27:24 2015 (r290803) +++ stable/10/usr.sbin/pciconf/cap.c Fri Nov 13 22:33:51 2015 (r290804) @@ -459,6 +459,10 @@ cap_express(int fd, struct pci_conf *p, MAX_PAYLOAD(cap & PCIEM_CAP_MAX_PAYLOAD)); if ((cap & PCIEM_CAP_FLR) != 0) printf(" FLR"); + if (ctl & PCIEM_CTL_RELAXED_ORD_ENABLE) + printf(" RO"); + if (ctl & PCIEM_CTL_NOSNOOP_ENABLE) + printf(" NS"); cap = read_config(fd, &p->pc_sel, ptr + PCIER_LINK_CAP, 4); sta = read_config(fd, &p->pc_sel, ptr + PCIER_LINK_STA, 2); printf(" link x%d(x%d)", (sta & PCIEM_LINK_STA_WIDTH) >> 4,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511132233.tADMXp4M049375>