summaryrefslogtreecommitdiff
path: root/hw/kdrive/igs/igsstub.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/igs/igsstub.c')
-rw-r--r--hw/kdrive/igs/igsstub.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/hw/kdrive/igs/igsstub.c b/hw/kdrive/igs/igsstub.c
index 9d4c3d854..af526a0e0 100644
--- a/hw/kdrive/igs/igsstub.c
+++ b/hw/kdrive/igs/igsstub.c
@@ -1,5 +1,5 @@
/*
- * $XFree86$
+ * $XFree86: xc/programs/Xserver/hw/kdrive/igs/igsstub.c,v 1.1 2000/05/06 22:17:44 keithp Exp $
*
* Copyright © 2000 Keith Packard
*
@@ -31,7 +31,13 @@ InitCard (char *name)
CARD32 count;
count = 0;
+#ifdef EMBED
+ attr.address[0] = 0x10000000; /* Adomo Wing video base address */
+ attr.io = 0;
+ attr.naddr = 1;
+#else
while (LinuxFindPci (0x10ea, 0x5000, count, &attr))
+#endif
{
KdCardInfoAdd (&igsFuncs, &attr, 0);
count++;