Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / networks / intelpro100 / dp83840.h
blob5daf014288b637ae144f53bd557cd7ce4990198b
1 /*
3 Copyright (C) 2005 Neil Cafferkey
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
18 MA 02111-1307, USA.
22 #ifndef DP83840_H
23 #define DP83840_H
26 /* Registers */
27 /* ========= */
29 #define MII_PCR 23
32 /* Register Details */
33 /* ================ */
35 /* PCS Configuration Register */
37 #define MII_PCRB_NOMLT3 11
38 #define MII_PCRB_NOCLK25M 7
39 #define MII_PCRB_NOFORCE100BASETX 6
40 #define MII_PCRB_NOLINKMON 5
41 #define MII_PCRB_NOTX 4
42 #define MII_PCRB_LED1LINK 2
43 #define MII_PCRB_LED4DUPLEX 1
45 #define MII_PCRF_NOMLT3 (1 << MII_PCRB_NOMLT3)
46 #define MII_PCRF_NOCLK25M (1 << MII_PCRB_NOCLK25M)
47 #define MII_PCRF_NOFORCE100BASETX (1 << MII_PCRB_NOFORCE100BASETX)
48 #define MII_PCRF_NOLINKMON (1 << MII_PCRB_NOLINKMON)
49 #define MII_PCRF_NOTX (1 << MII_PCRB_NOTX)
50 #define MII_PCRF_LED1LINK (1 << MII_PCRB_LED1LINK)
51 #define MII_PCRF_LED4DUPLEX (1 << MII_PCRB_LED4DUPLEX)
53 #endif