b4a740d8e2
- bump PORTEPOCH to ensure correct upgrade path from the old 1999.07.21 version. PR: 22766 Submitted by: maintainer
17 lines
441 B
Plaintext
17 lines
441 B
Plaintext
--- krio/rio.cpp.orig Fri Feb 18 11:07:32 2000
|
|
+++ krio/rio.cpp Fri Feb 18 11:08:13 2000
|
|
@@ -79,6 +79,13 @@
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
#include <machine/cpufunc.h>
|
|
+ #if defined(__alpha__)
|
|
+ #include <sys/types.h>
|
|
+ extern "C" {
|
|
+ u_int8_t inb(u_int32_t);
|
|
+ void outb(u_int32_t, u_int8_t);
|
|
+ }
|
|
+ #endif
|
|
#define OUTPORT(p,v) outb( p, v )
|
|
#define INPORT(p) inb( p )
|
|
#define CLOCK_SECOND CLOCKS_PER_SEC
|