diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-31 07:27:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-31 07:27:03 +0000 |
commit | 3ceba3851ab88af5d9dd6097cae252255e5a278a (patch) | |
tree | 25d39b95f626e0b6d8586819b862c085604f5775 | |
parent | ec84aceac64ad71d56238a840f971d795856617b (diff) |
put zs chip register layout here.
-rw-r--r-- | sys/arch/sparc/dev/zsvar.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/zsvar.h b/sys/arch/sparc/dev/zsvar.h index fc9b959f4f5..3fef4d3981e 100644 --- a/sys/arch/sparc/dev/zsvar.h +++ b/sys/arch/sparc/dev/zsvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: zsvar.h,v 1.4 1995/04/11 02:38:21 mycroft Exp $ */ +/* $NetBSD: zsvar.h,v 1.6 1996/01/24 19:52:57 gwr Exp $ */ /* * Copyright (c) 1992, 1993 @@ -45,6 +45,21 @@ */ /* + * Register layout is machine-dependent... + */ + +struct zschan { + volatile u_char zc_csr; /* ctrl,status, and indirect access */ + u_char zc_xxx0; + volatile u_char zc_data; /* data */ + u_char zc_xxx1; +}; + +struct zsdevice { + struct zschan zs_chan[2]; +}; + +/* * Software state, per zs channel. * * The zs chip has insufficient buffering, so we provide a software |