elink.h revision 92765
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 * 2950477Speter * $FreeBSD: head/sys/i386/isa/elink.h 92765 2002-03-20 07:51:46Z alfred $ 302268Sats */ 312268Sats 3220673Skato#ifdef PC98 3320673Skato#define ELINK_ID_PORT 0x71d0 3420673Skato#else 3533766Ssteve#define ELINK_ID_PORT 0x110 3620673Skato#endif 372268Sats#define ELINK_RESET 0xc0 382268Sats 392268Sats#define ELINK_507_POLY 0xe7 402268Sats#define ELINK_509_POLY 0xcf 412268Sats 4292765Salfredvoid elink_reset(void); 4392765Salfredvoid elink_idseq(u_char p); 44