From 8fc27c3e2d2aa9719c27a1f92dd1af327678ae17 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 31 Jan 1996 07:27:02 +0000 Subject: [PATCH] put zs chip register layout here. --- sys/arch/sparc/dev/zsvar.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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 @@ -44,6 +44,21 @@ * @(#)zsvar.h 8.1 (Berkeley) 6/11/93 */ +/* + * 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. * -- 2.20.1