3 * sp502.h - chip definitions for the
4 * Sipex SP502 Multi-Mode Serial Transceiver
6 * Bjoren Davis, Aurora Technologies, 21. January, 1995.
8 * COPYRIGHT (c) 1995-1999 BY AURORA TECHNOLOGIES, INC., WALTHAM, MA.
10 * Copyright (C) 2001 By Joachim Martillo, Telford Tools, Inc.
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version
15 * 2 of the License, or (at your option) any later version.
20 * revision info: $Id: sp502.h,v 1.1.1.1 2005/04/11 02:50:31 jack Exp $
21 * ripped off from: Header: /vol/sources.cvs/dev/acs/include/sp502.h,v 1.4 1996/11/07 21:35:10 bkd Exp
22 * Used without modification in the multichannel server portion of the Linux driver by Joachim Martillo
29 # pragma ident "@(#)$Header: /cvshome/samwise/ppclinux/drivers/net/wan/8253x/sp502.h,v 1.1.1.1 2005/04/11 02:50:31 jack Exp $"
33 * These following nibble values are from the SP502 Data Sheet, which
34 * is in the Sipex Interface Products Catalog, 1994 Edition, pages
38 /* same order as the modes in 8253xioc.h and as the names in 8253xtty.c and as the progbytes in 8253xmcs.c*/
40 #define SP502_OFF ((unsigned char) 0x00)
41 #define SP502_RS232 ((unsigned char) 0x02)
42 #define SP502_RS422 ((unsigned char) 0x04)
43 #define SP502_RS485 ((unsigned char) 0x05)
44 #define SP502_RS449 ((unsigned char) 0x0c)
45 #define SP502_EIA530 ((unsigned char) 0x0d)
46 #define SP502_V35 ((unsigned char) 0x0e)
48 #endif /* !_SP502_H */