Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Fix PASID Control Register.



details:   https://anonhg.NetBSD.org/src/rev/b052e4492be0
branches:  trunk
changeset: 349884:b052e4492be0
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Dec 27 03:51:55 2016 +0000

description:
Fix PASID Control Register.

diffstat:

 sys/dev/pci/pcireg.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r fe0eab268527 -r b052e4492be0 sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h      Tue Dec 27 03:09:55 2016 +0000
+++ b/sys/dev/pci/pcireg.h      Tue Dec 27 03:51:55 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcireg.h,v 1.117 2016/10/31 05:10:45 msaitoh Exp $     */
+/*     $NetBSD: pcireg.h,v 1.118 2016/12/27 03:51:55 msaitoh Exp $     */
 
 /*
  * Copyright (c) 1995, 1996, 1999, 2000
@@ -1871,9 +1871,9 @@
 #define        PCI_PASID_CAP_PRIVMODE  __BIT(2)        /* Privileged Mode Supported */
 #define        PCI_PASID_CAP_MAXPASIDW __BITS(12, 8)   /* Max PASID Width */
 #define        PCI_PASID_CTL   0x04    /* Control Register */
-#define        PCI_PASID_CTL_PASID_EN  __BIT(0)        /* PASID Enable */
-#define        PCI_PASID_CTL_XPERM_EN  __BIT(1)        /* Execute Permission Enable */
-#define        PCI_PASID_CTL_PRIVMODE_EN __BIT(2)      /* Privileged Mode Enable */
+#define        PCI_PASID_CTL_PASID_EN  __BIT(0+16)     /* PASID Enable */
+#define        PCI_PASID_CTL_XPERM_EN  __BIT(1+16)     /* Execute Permission Enable */
+#define        PCI_PASID_CTL_PRIVMODE_EN __BIT(2+16)   /* Privileged Mode Enable */
 
 /*
  * Extended capability ID: 0x001c



Home | Main Index | Thread Index | Old Index