diff options
author | Peter Wemm <peter@FreeBSD.org> | 1998-03-23 16:27:43 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1998-03-23 16:27:43 +0000 |
commit | e93eb8a353b0a3793688eb86bcdf4b4bdda3a99c (patch) | |
tree | 02fc65399563777934c03c7183d2996a3d1824ac /sys/i386/include | |
parent | eaab5e9a667d4acf61e57f691279db68761706f4 (diff) | |
download | src-e93eb8a353b0a3793688eb86bcdf4b4bdda3a99c.tar.gz src-e93eb8a353b0a3793688eb86bcdf4b4bdda3a99c.zip |
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>
Notes
Notes:
svn path=/head/; revision=34832
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/si.h | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/sys/i386/include/si.h b/sys/i386/include/si.h index 56aae660d469..cf0aeb723243 100644 --- a/sys/i386/include/si.h +++ b/sys/i386/include/si.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: si.h,v 1.10 1998/02/15 14:42:32 peter Exp $ + * $Id: si.h,v 1.11 1998/03/21 06:17:14 peter Exp $ */ #include <sys/callout.h> @@ -88,7 +88,7 @@ /* Adapter types */ #define SIEMPTY 0 #define SIHOST 1 -#define SI2 2 +#define SIMCA 2 #define SIHOST2 3 #define SIEISA 4 #define SIPCI 5 @@ -113,8 +113,8 @@ struct si_reg { BYTE memsize; WORD int_count; WORD revision; - BYTE rx_int_count; - BYTE spare; + BYTE rx_int_count; /* isr_count on Jet */ + BYTE main_count; /* spare on Z-280 */ WORD int_pending; WORD int_counter; BYTE int_scounter; @@ -137,26 +137,13 @@ struct si_module { * the address of the next module block if fitted. (else 0) * Note that next points to the TX buffer so 0x60 must be * subtracted to find the true base. - * - * Type is a bit field as follows: The bottom 5 bits are the - * number of channels on this module, the top 3 bits are - * as the module type thus: - * - * 000 2698 RS232 module (4 port or 8 port) - * 001 Reserved for 2698 RS422 module - * 010 Reserved for 8530 based sync module - * 011 Reserved for parallel printer module - * 100 Reserved for network module - * 101-111 Reserved for expansion. - * - * The number field is the cable position of the module. - */ -#define M232 0x00 -#define M422 0x20 /* not supported */ -#define MSYNC 0x40 /* this is the Telebit Netblazer module */ -#define MCENT 0x60 /* not supported */ -#define MNET 0x80 /* not supported */ -#define MMASK 0x1F + */ +#define TA4 0x00 +#define TA8 0x08 +#define TA4_ASIC 0x0A +#define TA8_ASIC 0x0B +#define MTA 0x28 +#define SXDC 0x48 /* * Per channel(port) control structure, stored in shared memory. |