summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/vino.c20
-rw-r--r--drivers/char/vino.h6
2 files changed, 22 insertions, 4 deletions
diff --git a/drivers/char/vino.c b/drivers/char/vino.c
index bf99a65e2..6ce518be8 100644
--- a/drivers/char/vino.c
+++ b/drivers/char/vino.c
@@ -1,4 +1,4 @@
-/* $Id$
+/* $Id: vino.c,v 1.1 1999/02/08 18:29:31 ulfc Exp $
* drivers/char/vino.c
*
* (incomplete) Driver for the Vino Video input system found in SGI Indys.
@@ -150,6 +150,7 @@ static int vino_init(void)
{
unsigned long ret;
unsigned short rev, id;
+ unsigned long long foo;
ret = vino_reg_read(VINO_REVID);
@@ -158,6 +159,23 @@ static int vino_init(void)
printk("Vino: ID:%02hx Rev:%02hx\n", id, rev);
+ foo = vino_reg_read(VINO_A_DESC_DATA0);
+ printk("%Lu ", foo);
+ foo = vino_reg_read(VINO_A_DESC_DATA1);
+ printk("%Lu ", foo);
+ foo = vino_reg_read(VINO_A_DESC_DATA2);
+ printk("%Lu ", foo);
+ foo = vino_reg_read(VINO_A_DESC_DATA3);
+ printk("%Lu\n", foo);
+ foo = vino_reg_read(VINO_B_DESC_DATA0);
+ printk("%Lu ", foo);
+ foo = vino_reg_read(VINO_B_DESC_DATA1);
+ printk("%Lu ", foo);
+ foo = vino_reg_read(VINO_B_DESC_DATA2);
+ printk("%Lu ", foo);
+ foo = vino_reg_read(VINO_B_DESC_DATA3);
+ printk("%Lu\n", foo);
+
return 0;
}
diff --git a/drivers/char/vino.h b/drivers/char/vino.h
index aa7928cc2..8caadc9aa 100644
--- a/drivers/char/vino.h
+++ b/drivers/char/vino.h
@@ -1,4 +1,4 @@
-/* $Id$
+/* $Id: vino.h,v 1.1 1999/02/08 18:29:32 ulfc Exp $
* drivers/sgi/vino.h
*
* Copyright (C) 1999 Ulf Carlsson (ulfc@bun.falkenberg.se)
@@ -24,7 +24,7 @@
#define VINO_A_DESC_DATA0 0x0078 /* Descriptor data 0 */
#define VINO_A_DESC_DATA1 0x0080 /* ... */
#define VINO_A_DESC_DATA2 0x0088
-#define VINO_A_DESC_DATE3 0x0090
+#define VINO_A_DESC_DATA3 0x0090
#define VINO_A_FIFO_THRESHOLD 0x0098 /* FIFO threshold */
#define VINO_A_FIFO_RP 0x00a0
#define VINO_A_FIFO_WP 0x00a8
@@ -41,7 +41,7 @@
#define VINO_B_DESC_DATA0 0x0100
#define VINO_B_DESC_DATA1 0x0108
#define VINO_B_DESC_DATA2 0x0110
-#define VINO_B_DESC_DATE3 0x0118
+#define VINO_B_DESC_DATA3 0x0118
#define VINO_B_FIFO_THRESHOLD 0x0120
#define VINO_B_FIFO_RP 0x0128
#define VINO_B_FIFO_WP 0x0130