summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/nv_rifunc.h1
-rw-r--r--bin/nv_wifunc.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/nv_rifunc.h b/bin/nv_rifunc.h
index 096e16f2d..82fa77ba7 100644
--- a/bin/nv_rifunc.h
+++ b/bin/nv_rifunc.h
@@ -44,4 +44,5 @@ nv_rfb(struct nouveau_object *device, u64 offset)
}
#define READ(o) nv_rfb(device, (o))
+#define ENABLE (NV_DEVICE_DISABLE_MMIO | NV_DEVICE_DISABLE_IDENTIFY)
#include "nv_rdfunc.h"
diff --git a/bin/nv_wifunc.h b/bin/nv_wifunc.h
index 8e4abb1fc..fa47d69ce 100644
--- a/bin/nv_wifunc.h
+++ b/bin/nv_wifunc.h
@@ -44,4 +44,5 @@ nv_wfb(struct nouveau_object *device, u64 offset, CAST data)
}
#define WRITE(o,v) nv_wfb(device, (o), (v))
+#define ENABLE (NV_DEVICE_DISABLE_MMIO | NV_DEVICE_DISABLE_IDENTIFY)
#include "nv_wrfunc.h"