elink.h revision 20673
1285242Sachim/* 2285242Sachim * Copyright (c) 1994 Charles Hannum. All rights reserved. 3285242Sachim * 4285242Sachim * Redistribution and use in source and binary forms, with or without 5285242Sachim * modification, are permitted provided that the following conditions 6285242Sachim * are met: 7285242Sachim * 1. Redistributions of source code must retain the above copyright 8285242Sachim * notice, this list of conditions and the following disclaimer. 9285242Sachim * 2. Redistributions in binary form must reproduce the above copyright 10285242Sachim * notice, this list of conditions and the following disclaimer in the 11285242Sachim * documentation and/or other materials provided with the distribution. 12285242Sachim * 3. All advertising materials mentioning features or use of this software 13285242Sachim * must display the following acknowledgement: 14285242Sachim * This product includes software developed by Charles Hannum. 15285242Sachim * 4. The name of the author may not be used to endorse or promote products 16285242Sachim * derived from this software without specific prior written permission. 17285242Sachim * 18285242Sachim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 19285242Sachim * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 20285242Sachim * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 21285242Sachim * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22285242Sachim * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23285242Sachim * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24285242Sachim * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25285242Sachim * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26285242Sachim * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27285242Sachim * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28285242Sachim * 29285242Sachim * $Id: elink.h,v 1.1 1994/08/24 22:32:42 ats Exp $ 30285242Sachim */ 31285242Sachim 32285242Sachim#ifdef PC98 33285242Sachim#define ELINK_ID_PORT 0x71d0 34285242Sachim#else 35285242Sachim#define ELINK_ID_PORT 0x100 36285242Sachim#endif 37285242Sachim#define ELINK_RESET 0xc0 38285242Sachim 39285242Sachim#define ELINK_507_POLY 0xe7 40285242Sachim#define ELINK_509_POLY 0xcf 41285242Sachim 42285242Sachimvoid elink_reset __P((void)); 43285242Sachimvoid elink_idseq __P((u_char p)); 44285242Sachim