diff options
author | peter <peter@FreeBSD.org> | 1998-03-23 16:27:43 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-03-23 16:27:43 +0000 |
commit | 0ddeeb0ae5f37f1d23aaf891c88ac43984273847 (patch) | |
tree | f67800d0ecf010a704ff0df92c36bfb3af084823 /sys/dev/si/sireg.h | |
parent | 7cedb4afa631aa83c6ca9aabd7a6ce725f75845b (diff) | |
download | FreeBSD-src-0ddeeb0ae5f37f1d23aaf891c88ac43984273847.zip FreeBSD-src-0ddeeb0ae5f37f1d23aaf891c88ac43984273847.tar.gz |
Several changes:
- Implement proper EISA probing.
- Better support for the new transputer based host cards.
- use standard termios settings, one can use the intial/lock devices.
- use a simple bcopy since some cards/systems apparently don't support
32 bit accesses.
- hard reset and halt host card CPU prior to download in case of a soft
restart.
- recognize new remote module types (ASIC vs. CD1400 based)
- a number of cosmetic changes (my fault, not Nick's)
Submitted by: Nick Sayer <nsayer@quack.kfu.com>
Diffstat (limited to 'sys/dev/si/sireg.h')
-rw-r--r-- | sys/dev/si/sireg.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/sys/dev/si/sireg.h b/sys/dev/si/sireg.h index ec93c96..aea0584 100644 --- a/sys/dev/si/sireg.h +++ b/sys/dev/si/sireg.h @@ -2,9 +2,9 @@ * Device driver for Specialix range (SI/XIO) of serial line multiplexors. * 'C' definitions for Specialix serial multiplex driver. * - * Copyright (C) 1990, 1992 Specialix International, + * Copyright (C) 1990, 1992, 1998 Specialix International, * Copyright (C) 1993, Andy Rutter <andy@acronym.co.uk> - * Copyright (C) 1995, Peter Wemm <peter@haywire.dialix.com> + * Copyright (C) 1995, Peter Wemm <peter@netplex.com.au> * * Derived from: SunOS 4.x version * @@ -30,7 +30,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHORS BE LIABLE. * - * $Id: sireg.h,v 1.4 1997/02/22 09:37:11 peter Exp $ + * $Id: sireg.h,v 1.5 1998/02/15 14:42:33 peter Exp $ */ /* @@ -56,6 +56,11 @@ #define SIINTCL 0xA000 /* Clear host int */ #define SIINTCL_CL 0xE000 /* Clear host int */ +/* SI EISA */ +#define SIEISADEVID 0x4d980411 /* EISA Device ID */ +#define SIEISABASE 0xc00 /* Our ports start here */ +#define SIEISAIOSIZE 0x100 /* XXX How many ports */ + /* SI old PCI */ #define SIPCIBADR 0x10 /* Which BADR to map in RAM */ #define SIPCI_MEMSIZE 0x100000 /* Mapping size */ @@ -63,12 +68,13 @@ #define SIPCIINTCL 0x40001 /* 0 = clear int */ /* SI Jet PCI */ -#define SIJETSSIDREG 0x2c /* Is it a SI/XIO or RIO? */ +#define SIJETSSIDREG 0x2c /* Is it an SX or RIO? */ #define SIJETBADR 0x18 /* Which BADR to map in RAM */ /* SI Jet PCI & ISA */ #define SIJETIDBASE 0x7c00 /* ID ROM base */ #define SISPLXID 0x984d /* Specialix ID */ -#define SIUNIQID 0x7c0e /* & 0xf0 = 0x20 for Si/XIO */ +#define SIUNIQID 0x7c0e /* & 0xf0 = 0x20 for SX */ +#define SIJETIDSTR 0x7c20 /* ID ROM string */ #define SIJETRESET 0x7d00 #define SIJETINTCL 0x7d80 #define SIJETCONFIG 0x7c00 /* for ISA, top nibble = IRQ */ @@ -79,12 +85,13 @@ * MEMSIZE is the total shared mem region * RAMSIZE is value to use when probing */ -#define SIJET_MEMSIZE 0x10000 +#define SIJETPCI_MEMSIZE 0x10000 +#define SIJETISA_MEMSIZE 0x10000 #define SIJET_RAMSIZE 0x7000 #define SIHOST_MEMSIZE 0x10000 #define SIHOST_RAMSIZE 0x8000 #define SIHOST2_MEMSIZE 0x8000 #define SIHOST2_RAMSIZE 0x7ff7 #define SIEISA_MEMSIZE 0x10000 -#define SEISAT_RAMSIZE 0x10000 +#define SIEISA_RAMSIZE 0x10000 |