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/9/usr.sbin/pciconf/cap.c
Directory Properties:
  stable/9/usr.sbin/pciconf/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/usr.sbin/pciconf/cap.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/9/usr.sbin/pciconf/cap.c
==============================================================================
--- stable/9/usr.sbin/pciconf/cap.c     Fri Nov 13 22:27:24 2015        
(r290803)
+++ stable/9/usr.sbin/pciconf/cap.c     Fri Nov 13 22:33:51 2015        
(r290804)
@@ -458,6 +458,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,
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to