summaryrefslogtreecommitdiff
path: root/chips/dz_7085.h
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-02-20 20:44:33 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:34 +0200
commit2486c56afd5ac4392aa95f0e478978331d1c15d6 (patch)
treee3c5e8c5252d5e110208d7fc6dbfad1c3b1e802f /chips/dz_7085.h
parent2a50c925882fe2d6535f130401eb6d4a4feb3e93 (diff)
2006-02-20 Thomas Schwinge <tschwinge@gnu.org>
Remove unused and unsupported code. Consult the file `DEVELOPMENT' for details. Partly based on suggestions by Gianluca Guida <glguida@gmail.com>. * chips/atm.c: Remove file. * chips/atmreg.h: Likewise. * chips/audio.c: Likewise. * chips/audio_config.h: Likewise. * chips/audio_defs.h: Likewise. * chips/bt431.c: Likewise. * chips/bt431.h: Likewise. * chips/bt455.c: Likewise. * chips/bt455.h: Likewise. * chips/bt459.c: Likewise. * chips/bt459.h: Likewise. * chips/bt478.c: Likewise. * chips/bt478.h: Likewise. * chips/build_font.c: Likewise. * chips/cfb_hdw.c: Likewise. * chips/cfb_misc.c: Likewise. * chips/dc503.c: Likewise. * chips/dc503.h: Likewise. * chips/dtop.h: Likewise. * chips/dtop_handlers.c: Likewise. * chips/dtop_hdw.c: Likewise. * chips/dz_7085.h: Likewise. * chips/dz_defs.h: Likewise. * chips/dz_hdw.c: Likewise. * chips/eccreg.h: Likewise. * chips/fb_hdw.c: Likewise. * chips/fb_misc.c: Likewise. * chips/fdc_82077.h: Likewise. * chips/fdc_82077_hdw.c: Likewise. * chips/frc.c: Likewise. * chips/ims332.c: Likewise. * chips/ims332.h: Likewise. * chips/isdn_79c30.h: Likewise. * chips/isdn_79c30_hdw.c: Likewise. * chips/kernel_font.c: Likewise. * chips/kernel_font.data: Likewise. * chips/lance.c: Likewise. * chips/lance.h: Likewise. * chips/lance_mapped.c: Likewise. * chips/lk201.c: Likewise. * chips/lk201.h: Likewise. * chips/mc_clock.c: Likewise. * chips/mc_clock.h: Likewise. * chips/mouse.c: Likewise. * chips/nc.c: Likewise. * chips/nc.h: Likewise. * chips/nw.h: Likewise. * chips/nw_mk.c: Likewise. * chips/nw_mk.h: Likewise. * chips/pm_defs.h: Likewise. * chips/pm_hdw.c: Likewise. * chips/pm_misc.c: Likewise. * chips/scc_8530.h: Likewise. * chips/scc_8530_hdw.c: Likewise. * chips/screen.c: Likewise. * chips/screen.h: Likewise. * chips/screen_defs.h: Likewise. * chips/screen_switch.c: Likewise. * chips/screen_switch.h: Likewise. * chips/serial_console.c: Likewise. * chips/serial_defs.h: Likewise. * chips/sfb_hdw.c: Likewise. * chips/sfb_misc.c: Likewise. * chips/spans.c: Likewise. * chips/spans.h: Likewise. * chips/tca100.c: Likewise. * chips/tca100.h: Likewise. * chips/tca100_if.c: Likewise. * chips/tca100_if.h: Likewise. * chips/vs42x_rb.h: Likewise. * chips/xcfb_hdw.c: Likewise. * chips/xcfb_misc.c: Likewise. * chips/xcfb_monitor.h: Likewise. * Makefile.in (chips-files): Only contain `busses.c' and `busses.h'. * kern/syscall_sw.c: Don't include <chips/nw_mk.h> anymore.
Diffstat (limited to 'chips/dz_7085.h')
-rw-r--r--chips/dz_7085.h153
1 files changed, 0 insertions, 153 deletions
diff --git a/chips/dz_7085.h b/chips/dz_7085.h
deleted file mode 100644
index 66c8916..0000000
--- a/chips/dz_7085.h
+++ /dev/null
@@ -1,153 +0,0 @@
-/*
- * Mach Operating System
- * Copyright (c) 1991,1990,1989 Carnegie Mellon University
- * All Rights Reserved.
- *
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
- * School of Computer Science
- * Carnegie Mellon University
- * Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie Mellon
- * the rights to redistribute these changes.
- */
-/*
- * File: dz_7085.h
- * Author: Alessandro Forin, Carnegie Mellon University
- * Date: 9/90
- *
- * Defines for the DEC 7085 Serial Line Controller Chip
- */
-
-#define NDZ_LINE 4
-
-/*
- * What's hanging off those 4 lines
- */
-
-#define DZ_LINE_KEYBOARD 0
-#define DZ_LINE_MOUSE 1
-#define DZ_LINE_MODEM 2
-#define DZ_LINE_PRINTER 3
-
-/*
- * Register layout, ignoring padding
- */
-typedef struct {
- volatile unsigned short dz_csr; /* Control and Status */
- volatile unsigned short dz_rbuf; /* Rcv buffer (RONLY) */
- volatile unsigned short dz_tcr; /* Xmt control (R/W)*/
- volatile unsigned short dz_tbuf; /* Xmt buffer (WONLY)*/
-# define dz_lpr dz_rbuf /* Line parameters (WONLY)*/
-# define dz_msr dz_tbuf /* Modem status (RONLY)*/
-} dz_regmap_t;
-
-/*
- * CSR bits
- */
-
-#define DZ_CSR_MBZ 0x3c07 /* Must be zero */
-#define DZ_CSR_MAINT 0x0008 /* rw: Maintenance mode */
-#define DZ_CSR_CLR 0x0010 /* rw: Master clear (init) */
-#define DZ_CSR_MSE 0x0020 /* rw: Master scan enable */
-#define DZ_CSR_RIE 0x0040 /* rw: Rcv Interrupt Enable */
-#define DZ_CSR_RDONE 0x0080 /* ro: Rcv done (silo avail) */
-#define DZ_CSR_TLINE 0x0300 /* ro: Lineno ready for xmt */
-#define DZ_CSR_TIE 0x4000 /* rw: Xmt Interrupt Enable */
-#define DZ_CSR_TRDY 0x8000 /* ro: Xmt ready */
-
-/*
- * Receiver buffer (top of silo). Read-only.
- */
-
-#define DZ_SILO_DEEP 64
-
-#define DZ_RBUF_CHAR 0x00ff /* Received character */
-#define DZ_RBUF_RLINE 0x0300 /* Line it came from */
-#define DZ_RBUF_XXXX 0x0c00 /* Reads as zero */
-#define DZ_RBUF_PERR 0x1000 /* Parity error */
-#define DZ_RBUF_FERR 0x2000 /* Framing error (break) */
-#define DZ_RBUF_OERR 0x4000 /* Silo overrun */
-#define DZ_RBUF_VALID 0x8000 /* Info is valid */
-
-/*
- * Line parameters register. Write-only.
- */
-
-#define DZ_LPAR_LINE 0x0003 /* Bin encoded line no */
-#define DZ_LPAR_MBZ 0xe004 /* Must be zero */
-#define DZ_LPAR_CLEN 0x0018 /* Character length: */
-# define DZ_LPAR_5BITS 0x0000 /* 5 bits per char */
-# define DZ_LPAR_6BITS 0x0008 /* 6 bits per char */
-# define DZ_LPAR_7BITS 0x0010 /* 7 bits per char */
-# define DZ_LPAR_8BITS 0x0018 /* 8 bits per char */
-#define DZ_LPAR_STOP 0x0020 /* stop bits: off->1, on->2 */
-#define DZ_LPAR_PAR_ENB 0x0040 /* generate/detect parity */
-#define DZ_LPAR_ODD_PAR 0x0080 /* generate/detect ODD parity */
-#define DZ_LPAR_SPEED 0x0f00 /* Speed code: */
-# define DZ_LPAR_50 0x0000 /* 50 baud */
-# define DZ_LPAR_75 0x0100 /* 75 baud */
-# define DZ_LPAR_110 0x0200 /* 110 baud */
-# define DZ_LPAR_134_5 0x0300 /* 134.5 baud */
-# define DZ_LPAR_150 0x0400 /* 150 baud */
-# define DZ_LPAR_300 0x0500 /* 300 baud */
-# define DZ_LPAR_600 0x0600 /* 600 baud */
-# define DZ_LPAR_1200 0x0700 /* 1200 baud */
-# define DZ_LPAR_1800 0x0800 /* 1800 baud */
-# define DZ_LPAR_2000 0x0900 /* 2000 baud */
-# define DZ_LPAR_2400 0x0a00 /* 2400 baud */
-# define DZ_LPAR_3600 0x0b00 /* 3600 baud */
-# define DZ_LPAR_4800 0x0c00 /* 4800 baud */
-# define DZ_LPAR_7200 0x0d00 /* 7200 baud */
-# define DZ_LPAR_9600 0x0e00 /* 9600 baud */
-# define DZ_LPAR_MAX_SPEED 0x0f00 /* 19200/38400 baud */
-#define DZ_LPAR_ENABLE 0x1000 /* Enable receiver */
-
-/*
- * Xmt control register
- */
-
-#define DZ_TCR_LNENB 0x000f /* rw: Xmt line enable */
-#define DZ_TCR_MBZ 0xf0f0 /* Must be zero */
-#define DZ_TCR_DTR3 0x0100 /* rw: DTR on printer line */
-#define DZ_TCR_RTS3 0x0200 /* rw: RTS on printer line */
-#define DZ_TCR_DTR2 0x0400 /* rw: DTR on modem line */
-#define DZ_TCR_RTS2 0x0800 /* rw: RTS on modem line */
-
-/*
- * Modem status register. Read-only.
- */
-
-#define DZ_MSR_CTS3 0x0001 /* Clear To Send, printer line */
-#define DZ_MSR_DSR3 0x0002 /* Data Set Ready, printer line */
-#define DZ_MSR_CD3 0x0004 /* Carrier Detect, printer line */
-#define DZ_MSR_RI3 0x0008 /* Ring Indicator, printer line */
-#define DZ_MSR_XXXX 0xf0f0 /* Reads as zero */
-#define DZ_MSR_CTS2 0x0100 /* Clear To Send, modem line */
-#define DZ_MSR_DSR2 0x0200 /* Data Set Ready, modem line */
-#define DZ_MSR_CD2 0x0400 /* Carrier Detect, modem line */
-#define DZ_MSR_RI2 0x0800 /* Ring Indicator, modem line */
-
-
-/*
- * Xmt buffer
- */
-
-#define DZ_TBUF_CHAR 0x00ff /* Xmt character */
-#define DZ_TBUF_BREAK_0 0x0100 /* set line 0 to space */
-#define DZ_TBUF_BREAK_1 0x0200 /* set line 1 to space */
-#define DZ_TBUF_BREAK_2 0x0400 /* set line 2 to space */
-#define DZ_TBUF_BREAK_3 0x0800 /* set line 3 to space */
-#define DZ_TBUF_MBZ 0xf000 /* Must be zero */