1 #====================================================================
5 # API support for ethernet transceivers (PHY)
7 #====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 2003 Gary Thomas
13 ## eCos is free software; you can redistribute it and/or modify it under
14 ## the terms of the GNU General Public License as published by the Free
15 ## Software Foundation; either version 2 or (at your option) any later version.
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 ## You should have received a copy of the GNU General Public License along
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26 ## As a special exception, if other files instantiate templates or use macros
27 ## or inline functions from this file, or you compile this file and link it
28 ## with other works to produce a work based on this file, this file does not
29 ## by itself cause the resulting work to be covered by the GNU General Public
30 ## License. However the source code for this file must still be made available
31 ## in accordance with section (3) of the GNU General Public License.
33 ## This exception does not invalidate any other reasons why a work based on
34 ## this file might be covered by the GNU General Public License.
36 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37 ## at http://sources.redhat.com/ecos/ecos-license/
38 ## -------------------------------------------
39 #####ECOSGPLCOPYRIGHTEND####
40 # ====================================================================
41 ######DESCRIPTIONBEGIN####
44 # Original data: gthomas
45 # Contributors: gthomas
48 #####DESCRIPTIONEND####
50 #====================================================================
52 cdl_package CYGPKG_DEVS_ETH_PHY {
53 display "Ethernet transceiver (PHY) support"
54 description "API for ethernet PHY devices"
56 parent CYGPKG_IO_ETH_DRIVERS
57 active_if CYGPKG_IO_ETH_DRIVERS
58 requires CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT
64 cdl_option CYGDBG_DEVS_ETH_PHY {
65 display "Enable driver debugging"
68 description "Enables the diagnostic debug messages on the
72 cdl_option CYGINT_DEVS_ETH_PHY_AUTO_NEGOTIATION_TIME {
73 display "Time period (seconds) to wait for auto-negotiation"
77 The length of time to wait for auto-negotiation to complete
78 before giving up and declaring the link dead/missing."
81 cdl_option CYGHWR_DEVS_ETH_PHY_DP83847 {
85 compile -library=libextras.a DP83847.c
87 Include support for National Semiconductor DP83847 DsPHYTER II"
90 cdl_option CYGHWR_DEVS_ETH_PHY_AM79C874 {
94 compile -library=libextras.a AM79C874.c
96 Include support for AMD 79C874 NetPHY"
99 cdl_option CYGHWR_DEVS_ETH_PHY_INLXT972 {
100 display "Intel LXT972"
103 compile -library=libextras.a INLXT972.c
105 Include support for Intel LXT972xxx PHY"
108 cdl_option CYGHWR_DEVS_ETH_PHY_ICS1890 {
112 compile -library=libextras.a ics189x.c
114 Include support for ICS 1890 PHY"
117 cdl_option CYGHWR_DEVS_ETH_PHY_ICS1892 {
121 compile -library=libextras.a ics189x.c
123 Include support for ICS 1892 PHY"
126 cdl_option CYGHWR_DEVS_ETH_PHY_ICS1893 {
130 compile -library=libextras.a ics189x.c
132 Include support for ICS 1893 and 1893AF PHY"
135 cdl_option CYGHWR_DEVS_ETH_PHY_DM9161A {
136 display "Davicom DM9161A"
139 compile -library=libextras.a DM9161A.c
141 Include support for the Davicom DM9161A PHY"
144 cdl_option CYGHWR_DEVS_ETH_PHY_KS8721 {
145 display "Micrel KS8721"
148 compile -library=libextras.a KS8721.c
150 Include support for the Micrel KS8721 PHY"
153 cdl_option CYGHWR_DEVS_ETH_PHY_LAN8700 {
154 display "SMSC LAN8700"
157 compile -library=libextras.a LAN8700.c
159 Include support for SMSC LAN8700 NetPHY"