Deleted Added
full compact
if_fxpreg.h (23964) if_fxpreg.h (24079)
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: if_fxpreg.h,v 1.6 1997/02/22 09:44:06 peter Exp $
27 * $Id: if_fxpreg.h,v 1.7 1997/03/17 11:08:16 davidg 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

--- 251 unchanged lines hidden (view full) ---

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
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

--- 251 unchanged lines hidden (view full) ---

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#define FXP_PHY_DP83840A 10
295
296/*
296
297/*
298 * DP84830 PHY, BMCR Basic Mode Control Register
299 */
300#define FXP_DP83840_BMCR 0x0
301#define FXP_DP83840_BMCR_FULLDUPLEX 0x0100
302#define FXP_DP83840_BMCR_AUTOEN 0x1000
303#define FXP_DP83840_BMCR_SPEED_100M 0x2000
304
305/*
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
306 * DP84830 PHY, PCS Configuration Register
307 */
308#define FXP_DP83840_PCR 0x17
309#define FXP_DP83840_PCR_LED4_MODE 0x0002 /* 1 = LED4 always indicates full duplex */
310#define FXP_DP83840_PCR_F_CONNECT 0x0020 /* 1 = force link disconnect function bypass */
311#define FXP_DP83840_PCR_BIT8 0x0100
312#define FXP_DP83840_PCR_BIT10 0x0400