summaryrefslogtreecommitdiff
path: root/sys/dev/isa/mpu401.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-11-28 22:37:21 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-11-28 22:37:21 +0000
commit1594ed7367ac276cb7f61a00ec33176d7f87a2c8 (patch)
tree56a9ef23bc01a184f4f573d78a0912e0856518d2 /sys/dev/isa/mpu401.c
parent539a31f2c1df2532bbf2c90d5d689df789298166 (diff)
generic isa mpu, from Sergey A. Smitienko w/ fixes from me
Diffstat (limited to 'sys/dev/isa/mpu401.c')
-rw-r--r--sys/dev/isa/mpu401.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/dev/isa/mpu401.c b/sys/dev/isa/mpu401.c
index 3c72e004bb2..5c18301722d 100644
--- a/sys/dev/isa/mpu401.c
+++ b/sys/dev/isa/mpu401.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpu401.c,v 1.6 2002/03/14 01:26:56 millert Exp $ */
+/* $OpenBSD: mpu401.c,v 1.7 2002/11/28 22:37:20 mickey Exp $ */
/* $NetBSD: mpu401.c,v 1.3 1998/11/25 22:17:06 augustss Exp $ */
/*
@@ -71,18 +71,6 @@ int mpu401debug = 0;
#define DPRINTFN(n,x)
#endif
-#define MPU401_NPORT 2
-#define MPU_DATA 0
-#define MPU_COMMAND 1
-#define MPU_RESET 0xff
-#define MPU_UART_MODE 0x3f
-#define MPU_ACK 0xfe
-#define MPU_STATUS 1
-#define MPU_OUTPUT_BUSY 0x40
-#define MPU_INPUT_EMPTY 0x80
-
-#define MPU_MAXWAIT 10000 /* usec/10 to wait */
-
#define MPU_GETSTATUS(iot, ioh) (bus_space_read_1(iot, ioh, MPU_STATUS))
int mpu_reset(struct mpu_softc *);