if_fxpreg.h (22975) | if_fxpreg.h (23964) |
---|---|
1/* 2 * Copyright (c) 1995, David Greenman 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/* 2 * Copyright (c) 1995, David Greenman 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $Id$ | 27 * $Id: if_fxpreg.h,v 1.6 1997/02/22 09:44:06 peter Exp $ |
28 */ 29 30#define FXP_VENDORID_INTEL 0x8086 31#define FXP_DEVICEID_i82557 0x1229 32 33#define FXP_PCI_MMBA 0x10 34#define FXP_PCI_IOBA 0x14 35 --- 234 unchanged lines hidden (view full) --- 270#define FXP_EEPROM_EEDO 0x08 271 272/* 273 * Serial EEPROM opcodes, including start bit 274 */ 275#define FXP_EEPROM_OPC_ERASE 0x4 276#define FXP_EEPROM_OPC_WRITE 0x5 277#define FXP_EEPROM_OPC_READ 0x6 | 28 */ 29 30#define FXP_VENDORID_INTEL 0x8086 31#define FXP_DEVICEID_i82557 0x1229 32 33#define FXP_PCI_MMBA 0x10 34#define FXP_PCI_IOBA 0x14 35 --- 234 unchanged lines hidden (view full) --- 270#define FXP_EEPROM_EEDO 0x08 271 272/* 273 * Serial EEPROM opcodes, including start bit 274 */ 275#define FXP_EEPROM_OPC_ERASE 0x4 276#define FXP_EEPROM_OPC_WRITE 0x5 277#define FXP_EEPROM_OPC_READ 0x6 |
278 279/* 280 * Management Data Interface opcodes 281 */ 282#define FXP_MDI_WRITE 0x1 283#define FXP_MDI_READ 0x2 284 285/* 286 * PHY device types 287 */ 288#define FXP_PHY_NONE 0 289#define FXP_PHY_82553A 1 290#define FXP_PHY_82553C 2 291#define FXP_PHY_82503 3 292#define FXP_PHY_DP83840 4 293#define FXP_PHY_80C240 5 294#define FXP_PHY_80C24 6 295 296/* 297 * DP84830 PHY, PCS Configuration Register 298 */ 299#define FXP_DP83840_PCR 0x17 300#define FXP_DP83840_PCR_LED4_MODE 0x0002 /* 1 = LED4 always indicates full duplex */ 301#define FXP_DP83840_PCR_F_CONNECT 0x0020 /* 1 = force link disconnect function bypass */ 302#define FXP_DP83840_PCR_BIT8 0x0100 303#define FXP_DP83840_PCR_BIT10 0x0400 |
|