1 # ====================================================================
3 # iq80310_eth_drivers.cdl
6 # Intel IQ80310 and PRO/100+ platform specific support
8 # ====================================================================
9 #####ECOSGPLCOPYRIGHTBEGIN####
10 ## -------------------------------------------
11 ## This file is part of eCos, the Embedded Configurable Operating System.
12 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
13 ## Copyright (C) 2002 Gary Thomas
15 ## eCos is free software; you can redistribute it and/or modify it under
16 ## the terms of the GNU General Public License as published by the Free
17 ## Software Foundation; either version 2 or (at your option) any later version.
19 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
20 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24 ## You should have received a copy of the GNU General Public License along
25 ## with eCos; if not, write to the Free Software Foundation, Inc.,
26 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
28 ## As a special exception, if other files instantiate templates or use macros
29 ## or inline functions from this file, or you compile this file and link it
30 ## with other works to produce a work based on this file, this file does not
31 ## by itself cause the resulting work to be covered by the GNU General Public
32 ## License. However the source code for this file must still be made available
33 ## in accordance with section (3) of the GNU General Public License.
35 ## This exception does not invalidate any other reasons why a work based on
36 ## this file might be covered by the GNU General Public License.
38 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
39 ## at http://sources.redhat.com/ecos/ecos-license/
40 ## -------------------------------------------
41 #####ECOSGPLCOPYRIGHTEND####
42 # ====================================================================
43 ######DESCRIPTIONBEGIN####
47 # Contributors: gthomas
50 #####DESCRIPTIONEND####
52 # ====================================================================
54 cdl_package CYGPKG_DEVS_ETH_ARM_XSCALE_IQ80310 {
55 display "Intel IQ80310 with PRO/100+ ethernet driver"
57 parent CYGPKG_IO_ETH_DRIVERS
58 active_if CYGPKG_IO_ETH_DRIVERS
59 active_if CYGPKG_HAL_ARM_XSCALE_IOP310
63 # FIXME: This really belongs in the INTEL_I82559 package
64 cdl_interface CYGINT_DEVS_ETH_INTEL_I82559_REQUIRED {
65 display "Intel i82559 ethernet driver required"
69 puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
70 puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_I82559_INL <cyg/io/devs_eth_iq80310.inl>"
71 puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_I82559_CFG <pkgconf/devs_eth_arm_xscale_iq80310.h>"
72 puts $::cdl_system_header "/***** ethernet driver proc output end *****/"
76 cdl_component CYGPKG_DEVS_ETH_ARM_IQ80310_ETH0 {
77 display "IQ80310 builtin ethernet port driver"
81 This option includes the ethernet device driver for the
82 IQ80310 builtin port."
84 implements CYGHWR_NET_DRIVERS
85 implements CYGHWR_NET_DRIVER_ETH0
86 implements CYGINT_DEVS_ETH_INTEL_I82559_REQUIRED
88 cdl_option CYGDAT_DEVS_ETH_ARM_IQ80310_ETH0_NAME {
89 display "Device name for the ETH0 ethernet port driver"
91 default_value {"\"eth0\""}
93 This option sets the name of the ethernet device for the
94 IQ80310 builtin port."
97 cdl_component CYGSEM_DEVS_ETH_ARM_IQ80310_ETH0_SET_ESA {
98 display "Set the ethernet station address"
101 description "Enabling this option will allow the ethernet
102 station address to be forced to the value set by the
103 configuration. This may be required if the hardware does
104 not include a serial EEPROM for the ESA."
106 cdl_option CYGDAT_DEVS_ETH_ARM_IQ80310_ETH0_ESA {
107 display "The ethernet station address"
109 default_value {"{0x00, 0xB5, 0xE0, 0xB5, 0xE0, 0x11}"}
110 description "The ethernet station address"
118 # EOF iq80310_eth_drivers.cdl