Deleted Added
full compact
if_xereg.h (51594) if_xereg.h (55723)
1/*-
2 * Copyright (c) 1998, 1999 Scott Mitchell
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 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $Id: if_xereg.h,v 1.5 1999/05/20 21:53:58 scott Exp $
1/*-
2 * Copyright (c) 1998, 1999 Scott Mitchell
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 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $Id: if_xereg.h,v 1.5 1999/05/20 21:53:58 scott Exp $
27 * $FreeBSD: head/sys/dev/xe/if_xereg.h 51594 1999-09-23 05:26:10Z peter $
27 * $FreeBSD: head/sys/dev/xe/if_xereg.h 55723 2000-01-10 08:05:53Z imp $
28 */
28 */
29#ifndef DEV_XE_IF_XEREG_H
30#define DEV_XE_IF_XEREG_H
29
30/*
31 * Register definitions for Xircom PCMCIA Ethernet controllers, based on
32 * Rev. B of the "Dingo" 10/100 controller used in Xircom CEM56 and RealPort
33 * Ethernet/modem cards. The Dingo can be configured to be register
34 * compatible with the "Mohawk" 10/100 controller used in Xircom CE3 cards
35 * (also some Intel and Compaq OEM versions of the CE3). The older 10Mbps CE2
36 * cards seem to use earlier revisions of the same device. Some registers and

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

61 * 3. DP83840 10/100 Mb/s Ethernet Physical Layer specification. National
62 * Semiconductor Corp., Arlington, Texas. March 1997. Available for
63 * download from http://www.ns.com/
64 * 4. Werner Koch's xirc2ps driver for Linux, for all the CE2 and CE3 frobs
65 * that aren't documented in the Xircom spec. Available for download from
66 * http://www.d.shuttle.de/isil/xircom/xirc2ps.html
67 */
68
31
32/*
33 * Register definitions for Xircom PCMCIA Ethernet controllers, based on
34 * Rev. B of the "Dingo" 10/100 controller used in Xircom CEM56 and RealPort
35 * Ethernet/modem cards. The Dingo can be configured to be register
36 * compatible with the "Mohawk" 10/100 controller used in Xircom CE3 cards
37 * (also some Intel and Compaq OEM versions of the CE3). The older 10Mbps CE2
38 * cards seem to use earlier revisions of the same device. Some registers and

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

63 * 3. DP83840 10/100 Mb/s Ethernet Physical Layer specification. National
64 * Semiconductor Corp., Arlington, Texas. March 1997. Available for
65 * download from http://www.ns.com/
66 * 4. Werner Koch's xirc2ps driver for Linux, for all the CE2 and CE3 frobs
67 * that aren't documented in the Xircom spec. Available for download from
68 * http://www.d.shuttle.de/isil/xircom/xirc2ps.html
69 */
70
69#include "xe.h"
70#if NXE > 0
71
72
73
74/*******************
75 * PCMCIA registers
76 *******************/
77
78/*
79 * These are probably Dingo-specific, but you won't need them unless you have
80 * a CEM card that needs a bit of hackery to get the Ethernet function to
81 * operate. All addresses are in card attribute space.

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

688
689/* ANER bits */
690#define PHY_ANER_MLFAULT 0x0010 /* More than one link is up! */
691#define PHY_ANER_LPNPABLE 0x0008 /* Link partner supports next page */
692#define PHY_ANER_NPABLE 0x0004 /* Local port supports next page */
693#define PHY_ANER_PAGERX 0x0002 /* Page received */
694#define PHY_ANER_LPAUTONEG 0x0001 /* Link partner can auto-negotiate */
695
71/*******************
72 * PCMCIA registers
73 *******************/
74
75/*
76 * These are probably Dingo-specific, but you won't need them unless you have
77 * a CEM card that needs a bit of hackery to get the Ethernet function to
78 * operate. All addresses are in card attribute space.

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

685
686/* ANER bits */
687#define PHY_ANER_MLFAULT 0x0010 /* More than one link is up! */
688#define PHY_ANER_LPNPABLE 0x0008 /* Link partner supports next page */
689#define PHY_ANER_NPABLE 0x0004 /* Local port supports next page */
690#define PHY_ANER_PAGERX 0x0002 /* Page received */
691#define PHY_ANER_LPAUTONEG 0x0001 /* Link partner can auto-negotiate */
692
696
697#endif /* NXE > 0 */
693#endif /* DEV_XE_IF_XEREG_H */