summaryrefslogtreecommitdiff
path: root/sys/dev/ic/stireg.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-19 02:25:12 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-19 02:25:12 +0000
commitad3f2ba06701e29a360d8d0dbfc4a9466971a476 (patch)
treece375edac884b23afa5d742cd1d72e537de4ca3e /sys/dev/ic/stireg.h
parent507d936637f55319bef82cfcc05a65335664471d (diff)
inquire ext config and dump it in debugging and also fix other debugging prints
Diffstat (limited to 'sys/dev/ic/stireg.h')
-rw-r--r--sys/dev/ic/stireg.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/dev/ic/stireg.h b/sys/dev/ic/stireg.h
index 42135c7b1fa..98cbf049b1f 100644
--- a/sys/dev/ic/stireg.h
+++ b/sys/dev/ic/stireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stireg.h,v 1.6 2003/06/02 19:24:22 mickey Exp $ */
+/* $OpenBSD: stireg.h,v 1.7 2003/08/19 02:25:11 mickey Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@@ -430,6 +430,22 @@ typedef struct sti_inqconfout {
u_int32_t planes;
u_int8_t name[STI_DEVNAME_LEN];
u_int32_t attributes;
+#define STI_INQCONF_Y2X 0x0001 /* pixel is higher tan wider */
+#define STI_INQCONF_HWBLKMV 0x0002 /* hw blkmv is present */
+#define STI_INQCONF_AHW 0x0004 /* adv hw accel */
+#define STI_INQCONF_INT 0x0008 /* can interrupt */
+#define STI_INQCONF_GONOFF 0x0010 /* supports on/off */
+#define STI_INQCONF_AONOFF 0x0020 /* supports alpha on/off */
+#define STI_INQCONF_VARY 0x0040 /* variable fb height */
+#define STI_INQCONF_ODDBYTES 0x0080 /* use only odd fb bytes */
+#define STI_INQCONF_FLUSH 0x0100 /* fb cache requires flushing */
+#define STI_INQCONF_DMA 0x0200 /* supports dma */
+#define STI_INQCONF_VDMA 0x0400 /* supports vdma */
+#define STI_INQCONF_YUV1 0x2000 /* supports YUV type 1 */
+#define STI_INQCONF_YUV2 0x4000 /* supports YUV type 2 */
+#define STI_INQCONF_BITS \
+ "\020\001y2x\002hwblkmv\003ahw\004int\005gonoff\006aonoff\007vary"\
+ "\010oddb\011flush\012dma\013vdma\016yuv1\017yuv2"
sti_einqconfout_t ext;
} *sti_inqconfout_t;