diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-29 17:06:28 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-29 17:06:28 +0000 |
commit | 79edeb311081330b02ec8a86c84211f82b1f78d5 (patch) | |
tree | fe08045fafe951b275a5413e71e0cbd0fc67fdbd /sys/arch/vax/qbus/dzreg.h | |
parent | 7be8c12978f2b3f6aaf65e85a36ba1b0a634b759 (diff) |
Sync dz and lk{kbd,ms} code with NetBSD, this allows keyboards to work when
initialized by the PROM.
Diffstat (limited to 'sys/arch/vax/qbus/dzreg.h')
-rw-r--r-- | sys/arch/vax/qbus/dzreg.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/arch/vax/qbus/dzreg.h b/sys/arch/vax/qbus/dzreg.h index 8f046c50fa0..613a581c866 100644 --- a/sys/arch/vax/qbus/dzreg.h +++ b/sys/arch/vax/qbus/dzreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dzreg.h,v 1.1 2000/04/27 03:14:47 bjc Exp $ */ +/* $OpenBSD: dzreg.h,v 1.2 2006/07/29 17:06:27 miod Exp $ */ /* $NetBSD: dzreg.h,v 1.4 1999/05/27 16:03:13 ragge Exp $ */ /* * Copyright (c) 1996 Ken C. Wellsch. All rights reserved. @@ -51,20 +51,6 @@ struct DZregs typedef struct DZregs dzregs; -#if 0 -struct dz_regs { - volatile unsigned short *dr_csr; - volatile unsigned short *dr_rbuf; -#define dr_lpr dr_rbuf - volatile unsigned char *dr_dtr; - volatile unsigned char *dr_break; - volatile unsigned char *dr_tbuf; - volatile unsigned char *dr_tcr; - volatile unsigned short *dr_tcrw; - volatile unsigned char *dr_ring; - volatile unsigned char *dr_dcd; -}; -#else struct dz_regs { bus_addr_t dr_csr; bus_addr_t dr_rbuf; @@ -86,8 +72,6 @@ struct dz_regs { #define DZ_UBA_DCD 7 #define DZ_UBA_RING 6 -#endif - /* CSR bits */ #define DZ_CSR_TX_READY 0100000 /* Transmitter Ready */ |