if_edreg.h (190811) | if_edreg.h (260050) |
---|---|
1/*- 2 * Copyright (C) 1993, David Greenman. This software may be used, modified, 3 * copied, distributed, and sold, in both source and binary form provided 4 * that the above copyright and these terms are retained. Under no 5 * circumstances is the author responsible for the proper functioning 6 * of this software, nor does the author assume any responsibility 7 * for damages incurred with its use. 8 * | 1/*- 2 * Copyright (C) 1993, David Greenman. This software may be used, modified, 3 * copied, distributed, and sold, in both source and binary form provided 4 * that the above copyright and these terms are retained. Under no 5 * circumstances is the author responsible for the proper functioning 6 * of this software, nor does the author assume any responsibility 7 * for damages incurred with its use. 8 * |
9 * $FreeBSD: head/sys/dev/ed/if_edreg.h 190811 2009-04-07 17:06:06Z imp $ | 9 * $FreeBSD: head/sys/dev/ed/if_edreg.h 260050 2013-12-29 19:21:59Z marius $ |
10 */ 11/* 12 * National Semiconductor DS8390 NIC register definitions 13 * 14 * 15 * Modification history 16 * 17 * Revision 2.2 1993/11/29 16:33:39 davidg --- 1056 unchanged lines hidden (view full) --- 1074#define ED_CHIP_TYPE_NS83903 5 1075#define ED_CHIP_TYPE_NS83926 6 1076#define ED_CHIP_TYPE_RTL8019 7 1077#define ED_CHIP_TYPE_RTL8029 8 1078#define ED_CHIP_TYPE_TC3299 9 1079#define ED_CHIP_TYPE_TC5299J 10 1080#define ED_CHIP_TYPE_W89C926 11 1081#define ED_CHIP_TYPE_WD790 12 | 10 */ 11/* 12 * National Semiconductor DS8390 NIC register definitions 13 * 14 * 15 * Modification history 16 * 17 * Revision 2.2 1993/11/29 16:33:39 davidg --- 1056 unchanged lines hidden (view full) --- 1074#define ED_CHIP_TYPE_NS83903 5 1075#define ED_CHIP_TYPE_NS83926 6 1076#define ED_CHIP_TYPE_RTL8019 7 1077#define ED_CHIP_TYPE_RTL8029 8 1078#define ED_CHIP_TYPE_TC3299 9 1079#define ED_CHIP_TYPE_TC5299J 10 1080#define ED_CHIP_TYPE_W89C926 11 1081#define ED_CHIP_TYPE_WD790 12 |
1082 1083/* 1084 * MII bus definitions. These are common to both DL100xx and AX88x90 1085 * MII definitions, because they are standards based. 1086 */ 1087#define ED_MII_STARTDELIM 0x01 1088#define ED_MII_WRITEOP 0x01 1089#define ED_MII_READOP 0x02 1090#define ED_MII_TURNAROUND 0x02 1091#define ED_MII_IDLE 0x01 1092 1093#define ED_MII_STARTDELIM_BITS 2 1094#define ED_MII_OP_BITS 2 1095#define ED_MII_PHY_BITS 5 1096#define ED_MII_REG_BITS 5 1097#define ED_MII_TURNAROUND_BITS 2 1098#define ED_MII_ACK_BITS 1 1099#define ED_MII_DATA_BITS 16 1100#define ED_MII_IDLE_BITS 1 | |