1/* $FreeBSD: head/sys/dev/snc/dp83932var.h 179442 2008-05-30 21:48:05Z jhb $ */ |
2/* $NecBSD: dp83932var.h,v 1.3 1999/01/24 01:39:51 kmatsuda Exp $ */ 3/* $NetBSD: if_snvar.h,v 1.12 1998/05/01 03:42:47 scottr Exp $ */ 4 5/*- 6 * [NetBSD for NEC PC-98 series] 7 * Copyright (c) 1997, 1998, 1999 8 * Kouichi Matsuda. All rights reserved. 9 * --- 8 unchanged lines hidden (view full) --- 18/* 19 * Modified for NetBSD/pc98 1.2.1 from NetBSD/mac68k 1.2D by Kouichi Matsuda. 20 * Make adapted for NEC PC-9801-83, 84, PC-9801-103, 104, PC-9801N-25 and 21 * PC-9801N-J02, J02R, which uses National Semiconductor DP83934AVQB as 22 * Ethernet Controller and National Semiconductor NS46C46 as 23 * (64 * 16 bits) Microwire Serial EEPROM. 24 */ 25 |
26/* 27 * Vendor types 28 */ 29 30/* 31 * SONIC buffers need to be aligned 16 or 32 bit aligned. 32 * These macros calculate and verify alignment. 33 */ --- 161 unchanged lines hidden (view full) --- 195 196 int sc_enabled; /* boolean; power enabled on interface */ 197 198 int (*sc_enable)(struct snc_softc *); 199 void (*sc_disable)(struct snc_softc *); 200 201 void *sc_sh; /* shutdownhook cookie */ 202 int gone; |
203} snc_softc_t; 204 205/* 206 * Accessing SONIC data structures and registers as 32 bit values 207 * makes code endianess independent. The SONIC is however always in 208 * bigendian mode so it is necessary to ensure that data structures shared 209 * between the CPU and the SONIC are always in bigendian order. 210 */ --- 69 unchanged lines hidden --- |