1 # ====================================================================
3 # board_eth_drivers.cdl
5 # ====================================================================
6 #####ECOSGPLCOPYRIGHTBEGIN####
7 ## -------------------------------------------
8 ## This file is part of eCos, the Embedded Configurable Operating System.
9 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
11 ## eCos is free software; you can redistribute it and/or modify it under
12 ## the terms of the GNU General Public License as published by the Free
13 ## Software Foundation; either version 2 or (at your option) any later version.
15 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
16 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 ## You should have received a copy of the GNU General Public License along
21 ## with eCos; if not, write to the Free Software Foundation, Inc.,
22 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
24 ## As a special exception, if other files instantiate templates or use macros
25 ## or inline functions from this file, or you compile this file and link it
26 ## with other works to produce a work based on this file, this file does not
27 ## by itself cause the resulting work to be covered by the GNU General Public
28 ## License. However the source code for this file must still be made available
29 ## in accordance with section (3) of the GNU General Public License.
31 ## This exception does not invalidate any other reasons why a work based on
32 ## this file might be covered by the GNU General Public License.
34 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
35 ## at http://sources.redhat.com/ecos/ecos-license/
36 ## -------------------------------------------
37 #####ECOSGPLCOPYRIGHTEND####
39 cdl_package CYGPKG_DEVS_ETH_ARM_MXC30030EVB {
40 display "Ethernet driver for Freescale MXC development board"
42 parent CYGPKG_IO_ETH_DRIVERS
43 active_if CYGPKG_IO_ETH_DRIVERS
47 # FIXME: This really belongs in the CL CS8900A package
48 cdl_interface CYGINT_DEVS_ETH_CL_CS8900A_REQUIRED {
49 display "Cirrus Logic CS8900A ethernet driver required"
53 puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
54 puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_CL_CS8900A_INL <cyg/io/devs_eth_arm_board.inl>"
55 puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_CL_CS8900A_CFG <pkgconf/devs_eth_arm_mxc30030evb.h>"
56 puts $::cdl_system_header "/***** ethernet driver proc output end *****/"
59 cdl_component CYGPKG_DEVS_ETH_ARM_MXCBOARD_ETH0 {
60 display "MXC Board ethernet port driver"
64 This option includes the ethernet device driver for the
67 implements CYGHWR_NET_DRIVER_ETH0
68 implements CYGINT_DEVS_ETH_CL_CS8900A_REQUIRED
70 cdl_option CYGDAT_DEVS_ETH_ARM_MXCBOARD_ETH0_NAME {
71 display "Device name for the ETH0 ethernet driver"
73 default_value {"\"eth0\""}
75 This option sets the name of the ethernet device."
78 cdl_component CYGSEM_DEVS_ETH_ARM_MXCBOARD_ETH0_SET_ESA {
79 display "Set the ethernet station address"
82 description "Enabling this option will allow the ethernet
83 station address to be forced to the value set by the
84 configuration. This may be required if the hardware does
85 not include a serial EEPROM for the ESA."
87 cdl_option CYGDAT_DEVS_ETH_ARM_MXCBOARD_ETH0_ESA {
88 display "The ethernet station address"
90 default_value {"{0x08, 0x88, 0x12, 0x34, 0x56, 0x78}"}
91 description "The ethernet station address"