From 1594ed7367ac276cb7f61a00ec33176d7f87a2c8 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 28 Nov 2002 22:37:21 +0000 Subject: generic isa mpu, from Sergey A. Smitienko w/ fixes from me --- sys/dev/isa/mpu401.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'sys/dev/isa/mpu401.c') 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 *); -- cgit v1.2.3