summaryrefslogtreecommitdiff
path: root/src/durango.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/durango.c')
-rw-r--r--src/durango.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/durango.c b/src/durango.c
index 6861acc..9d6970b 100644
--- a/src/durango.c
+++ b/src/durango.c
@@ -79,8 +79,7 @@
#define FB4MB 1 /* Set to use 4Mb vid ram for Pyramid */
-#define GFX_NO_IO_IN_WAIT_MACROS 1 /* Set to remove I/O accesses in GP
- * bit testing */
+#define GFX_NO_IO_IN_WAIT_MACROS 1 /* Set to remove I/O accesses in GP */
#define GFX_READ_ROUTINES 1
#include "gfx_rtns.h"
@@ -107,6 +106,15 @@ unsigned char *gfx_phys_vipptr = (unsigned char *)0x40015000;
#define OUTW(port,data) outw(port, data)
#define OUTD(port,data) outl(port, data)
+/* Squash warnings */
+unsigned char gfx_inb(unsigned short);
+unsigned short gfx_inw(unsigned short);
+unsigned long gfx_ind(unsigned short);
+
+void gfx_outb(unsigned short, unsigned char);
+void gfx_outw(unsigned short, unsigned short);
+void gfx_outd(unsigned short, unsigned long);
+
inline unsigned char
gfx_inb(unsigned short port)
{