Home | History | Annotate | Line # | Download | only in netboot
      1  1.5  tsutsui /*	$NetBSD: config.h,v 1.5 2008/01/12 09:54:32 tsutsui Exp $	*/
      2  1.1    chuck 
      3  1.1    chuck /*
      4  1.1    chuck  * Copyright (c) 1995 Theo de Raadt
      5  1.1    chuck  * All rights reserved.
      6  1.1    chuck  *
      7  1.1    chuck  * Redistribution and use in source and binary forms, with or without
      8  1.1    chuck  * modification, are permitted provided that the following conditions
      9  1.1    chuck  * are met:
     10  1.1    chuck  * 1. Redistributions of source code must retain the above copyright
     11  1.1    chuck  *    notice, this list of conditions and the following disclaimer.
     12  1.1    chuck  * 2. Redistributions in binary form must reproduce the above copyright
     13  1.1    chuck  *    notice, this list of conditions and the following disclaimer in the
     14  1.1    chuck  *    documentation and/or other materials provided with the distribution.
     15  1.1    chuck  *
     16  1.1    chuck  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
     17  1.1    chuck  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     18  1.1    chuck  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     19  1.1    chuck  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
     20  1.1    chuck  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     21  1.1    chuck  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     22  1.1    chuck  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     23  1.1    chuck  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     24  1.1    chuck  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     25  1.1    chuck  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     26  1.1    chuck  * SUCH DAMAGE.
     27  1.1    chuck  */
     28  1.1    chuck 
     29  1.1    chuck /* configuration information for base-line code */
     30  1.1    chuck 
     31  1.1    chuck #define ETHER_ADDR_147		(0xfffe0778)
     32  1.1    chuck #define ETHER_ADDR_16X		(0xfffc0000+7980)
     33  1.1    chuck #define ERAM_ADDR		(0xfffe0774)
     34  1.1    chuck #define LANCE_REG_ADDR		(0xfffe1800)
     35  1.1    chuck #define INTEL_REG_ADDR		(0xfff46000)
     36  1.1    chuck 
     37  1.1    chuck #define CPU_147			0x147
     38  1.1    chuck #define CPU_162			0x162
     39  1.1    chuck #define CPU_167			0x167
     40  1.1    chuck #define CPU_172			0x172
     41  1.1    chuck #define CPU_177			0x177
     42  1.1    chuck 
     43  1.1    chuck struct brdid {
     44  1.1    chuck 	u_long  eye_catcher;
     45  1.1    chuck 	u_char  rev;
     46  1.1    chuck 	u_char  month;
     47  1.1    chuck 	u_char  day;
     48  1.1    chuck 	u_char  year;
     49  1.1    chuck 	u_short size;
     50  1.1    chuck 	u_short rsv1;
     51  1.1    chuck 	u_short model;
     52  1.1    chuck 	u_short suffix;
     53  1.1    chuck 	u_short options;
     54  1.1    chuck 	u_char  family;
     55  1.1    chuck 	u_char  cpu;
     56  1.1    chuck 	u_short ctrlun;
     57  1.1    chuck 	u_short devlun;
     58  1.1    chuck 	u_short devtype;
     59  1.1    chuck 	u_short devnum;
     60  1.1    chuck 	u_long  bug;
     61  1.1    chuck };
     62  1.2      scw 
     63  1.5  tsutsui void	machdep_common_ether(u_char *);
     64