if_edreg.h (70154) | if_edreg.h (73374) |
---|---|
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 70154 2000-12-18 15:28:53Z toshi $ | 9 * $FreeBSD: head/sys/dev/ed/if_edreg.h 73374 2001-03-03 08:31:37Z imp $ |
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 --- 1090 unchanged lines hidden (view full) --- 1108#define ED_CHIP_TYPE_AX88190 0x02 1109 1110/* 1111 * AX88190 IOBASE registers. 1112 */ 1113 1114#define ED_AX88190_IOBASE0 0x3ca 1115#define ED_AX88190_IOBASE1 0x3cc | 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 --- 1090 unchanged lines hidden (view full) --- 1108#define ED_CHIP_TYPE_AX88190 0x02 1109 1110/* 1111 * AX88190 IOBASE registers. 1112 */ 1113 1114#define ED_AX88190_IOBASE0 0x3ca 1115#define ED_AX88190_IOBASE1 0x3cc |
1116 1117/* 1118 * MII bus definitions. 1119 */ 1120#define ED_MII_STARTDELIM 0x01 1121#define ED_MII_WRITEOP 0x01 1122#define ED_MII_READOP 0x02 1123#define ED_MII_TURNAROUND 0x02 1124#define ED_MII_IDLE 0x01 1125 1126#define ED_MII_STARTDELIM_BITS 2 1127#define ED_MII_OP_BITS 2 1128#define ED_MII_PHY_BITS 5 1129#define ED_MII_REG_BITS 5 1130#define ED_MII_TURNAROUND_BITS 2 1131#define ED_MII_DATA_BITS 16 1132#define ED_MII_ACK_BITS 1 1133#define ED_MII_IDLE_BITS 1 1134 1135/* Dlink chipset used on some Netgear and Dlink PCMCIA cards */ 1136#define ED_DLINK_MIIBUS 0x0c /* MII bus register on ASIC */ 1137 1138#define ED_DLINK_MII_RESET1 0x04 1139#define ED_DLINK_MII_RESET2 0x08 1140 1141#define ED_DLINK_MII_DATATIN 0x10 1142#define ED_DLINK_MII_DIROUT 0x20 1143#define ED_DLINK_MII_DATAOUT 0x40 1144#define ED_DLINK_MII_CLK 0x80 |
|