Deleted Added
full compact
if_fxpreg.h (29974) if_fxpreg.h (34014)
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.10 1997/09/05 10:23:56 davidg Exp $
27 * $Id: if_fxpreg.h,v 1.11 1997/09/29 11:27:42 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

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

322#define FXP_PHY_82553A 1
323#define FXP_PHY_82553C 2
324#define FXP_PHY_82503 3
325#define FXP_PHY_DP83840 4
326#define FXP_PHY_80C240 5
327#define FXP_PHY_80C24 6
328#define FXP_PHY_82555 7
329#define FXP_PHY_DP83840A 10
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

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

322#define FXP_PHY_82553A 1
323#define FXP_PHY_82553C 2
324#define FXP_PHY_82503 3
325#define FXP_PHY_DP83840 4
326#define FXP_PHY_80C240 5
327#define FXP_PHY_80C24 6
328#define FXP_PHY_82555 7
329#define FXP_PHY_DP83840A 10
330#define FXP_PHY_82555B 11
330
331/*
332 * PHY BMCR Basic Mode Control Register
333 */
334#define FXP_PHY_BMCR 0x0
335#define FXP_PHY_BMCR_FULLDUPLEX 0x0100
336#define FXP_PHY_BMCR_AUTOEN 0x1000
337#define FXP_PHY_BMCR_SPEED_100M 0x2000
338
339/*
340 * DP84830 PHY, PCS Configuration Register
341 */
342#define FXP_DP83840_PCR 0x17
343#define FXP_DP83840_PCR_LED4_MODE 0x0002 /* 1 = LED4 always indicates full duplex */
344#define FXP_DP83840_PCR_F_CONNECT 0x0020 /* 1 = force link disconnect function bypass */
345#define FXP_DP83840_PCR_BIT8 0x0100
346#define FXP_DP83840_PCR_BIT10 0x0400
331
332/*
333 * PHY BMCR Basic Mode Control Register
334 */
335#define FXP_PHY_BMCR 0x0
336#define FXP_PHY_BMCR_FULLDUPLEX 0x0100
337#define FXP_PHY_BMCR_AUTOEN 0x1000
338#define FXP_PHY_BMCR_SPEED_100M 0x2000
339
340/*
341 * DP84830 PHY, PCS Configuration Register
342 */
343#define FXP_DP83840_PCR 0x17
344#define FXP_DP83840_PCR_LED4_MODE 0x0002 /* 1 = LED4 always indicates full duplex */
345#define FXP_DP83840_PCR_F_CONNECT 0x0020 /* 1 = force link disconnect function bypass */
346#define FXP_DP83840_PCR_BIT8 0x0100
347#define FXP_DP83840_PCR_BIT10 0x0400