elink.h revision 2268
12268Sats/*
22268Sats * Copyright (c) 1994 Charles Hannum.  All rights reserved.
32268Sats *
42268Sats * Redistribution and use in source and binary forms, with or without
52268Sats * modification, are permitted provided that the following conditions
62268Sats * are met:
72268Sats * 1. Redistributions of source code must retain the above copyright
82268Sats *    notice, this list of conditions and the following disclaimer.
92268Sats * 2. Redistributions in binary form must reproduce the above copyright
102268Sats *    notice, this list of conditions and the following disclaimer in the
112268Sats *    documentation and/or other materials provided with the distribution.
122268Sats * 3. All advertising materials mentioning features or use of this software
132268Sats *    must display the following acknowledgement:
142268Sats *	This product includes software developed by Charles Hannum.
152268Sats * 4. The name of the author may not be used to endorse or promote products
162268Sats *    derived from this software without specific prior written permission.
172268Sats *
182268Sats * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
192268Sats * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
202268Sats * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
212268Sats * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
222268Sats * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
232268Sats * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242268Sats * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252268Sats * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262268Sats * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
272268Sats * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282268Sats *
292268Sats *	$Id: elink.h,v 1.1 1994/05/25 20:06:43 ats Exp $
302268Sats */
312268Sats
322268Sats#define	ELINK_ID_PORT	0x100
332268Sats#define	ELINK_RESET	0xc0
342268Sats
352268Sats#define	ELINK_507_POLY	0xe7
362268Sats#define	ELINK_509_POLY	0xcf
372268Sats
382268Satsvoid elink_reset __P((void));
392268Satsvoid elink_idseq __P((u_char p));
40