summaryrefslogtreecommitdiff
path: root/src/nv_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv_type.h')
-rw-r--r--src/nv_type.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nv_type.h b/src/nv_type.h
index 36ec7b5..bb85b8f 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -20,6 +20,8 @@
#error "This driver requires a DRI-enabled X server"
#endif
+#include "nv50_type.h"
+
#define NV_ARCH_03 0x03
#define NV_ARCH_04 0x04
#define NV_ARCH_10 0x10
@@ -174,6 +176,7 @@ typedef struct _NVRec {
pciVideoPtr PciInfo;
PCITAG PciTag;
int Chipset;
+ int _Chipset;
int ChipRev;
Bool Primary;
CARD32 IOAddress;
@@ -309,6 +312,11 @@ typedef struct _NVRec {
int analog_count;
int digital_count;
CARD32 dcb_table[NV40_NUM_DCB_ENTRIES]; /* 10 is a good limit */
+
+ struct {
+ ORNum dac;
+ ORNum sor;
+ } i2cMap[4];
} NVRec;
#define NVPTR(p) ((NVPtr)((p)->driverPrivate))