xref: /netbsd-src/sys/dev/podulebus/if_eareg.h (revision ddc6e8e6ad14a3970582edf160b8463ad8662460)
1*ddc6e8e6Sbjh21 /* $NetBSD: if_eareg.h,v 1.3 2001/06/15 00:28:01 bjh21 Exp $ */
28bd452c6Sbjh21 
38bd452c6Sbjh21 /*
48bd452c6Sbjh21  * Copyright (c) 1995 Mark Brinicombe
58bd452c6Sbjh21  * All rights reserved.
68bd452c6Sbjh21  *
78bd452c6Sbjh21  * Redistribution and use in source and binary forms, with or without
88bd452c6Sbjh21  * modification, are permitted provided that the following conditions
98bd452c6Sbjh21  * are met:
108bd452c6Sbjh21  * 1. Redistributions of source code must retain the above copyright
118bd452c6Sbjh21  *    notice, this list of conditions and the following disclaimer.
128bd452c6Sbjh21  * 2. Redistributions in binary form must reproduce the above copyright
138bd452c6Sbjh21  *    notice, this list of conditions and the following disclaimer in the
148bd452c6Sbjh21  *    documentation and/or other materials provided with the distribution.
158bd452c6Sbjh21  * 3. All advertising materials mentioning features or use of this software
168bd452c6Sbjh21  *    must display the following acknowledgement:
178bd452c6Sbjh21  *	This product includes software developed by Mark Brinicombe.
188bd452c6Sbjh21  * 4. The name of the company nor the name of the author may be used to
198bd452c6Sbjh21  *    endorse or promote products derived from this software without specific
208bd452c6Sbjh21  *    prior written permission.
218bd452c6Sbjh21  *
228bd452c6Sbjh21  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
238bd452c6Sbjh21  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
248bd452c6Sbjh21  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
258bd452c6Sbjh21  * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
268bd452c6Sbjh21  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
278bd452c6Sbjh21  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
288bd452c6Sbjh21  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
298bd452c6Sbjh21  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
308bd452c6Sbjh21  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
318bd452c6Sbjh21  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
328bd452c6Sbjh21  * SUCH DAMAGE.
338bd452c6Sbjh21  */
348bd452c6Sbjh21 /*
358bd452c6Sbjh21  * if_eareg.h - Ether3 device driver
368bd452c6Sbjh21  */
378bd452c6Sbjh21 
388bd452c6Sbjh21 /*
390ac712a0Sbjh21  * Atomwide Ether3 Register Definitions
408bd452c6Sbjh21  */
418bd452c6Sbjh21 
42*ddc6e8e6Sbjh21 /*
43*ddc6e8e6Sbjh21  * The 8005 (or 80C04 or 80C04A) in an Ether3 is wired up as follows:
44*ddc6e8e6Sbjh21  * A0 -- LA[2]
45*ddc6e8e6Sbjh21  * A1 -- LA[6]
46*ddc6e8e6Sbjh21  * A2 -- LA[7]
47*ddc6e8e6Sbjh21  * A3 -- LA[8]
48*ddc6e8e6Sbjh21  *
49*ddc6e8e6Sbjh21  * Happily, we can ignore A0 in 16-bit mode, but it'll come back to bite
50*ddc6e8e6Sbjh21  * us on 8-bit versions.
51*ddc6e8e6Sbjh21  */
52*ddc6e8e6Sbjh21 
538bd452c6Sbjh21 #define EA_8005_BASE	0x000
548bd452c6Sbjh21 #define EA_8005_SHIFT	5
558bd452c6Sbjh21 
568bd452c6Sbjh21 /* End of if_eareg.h */
57