]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/devs/eth/arm/tx27karo/v1_0/cdl/tx27_eth_drivers.cdl
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / devs / eth / arm / tx27karo / v1_0 / cdl / tx27_eth_drivers.cdl
1 # ====================================================================
2 #
3 #      tx27_eth_drivers.cdl
4 #
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.
10 ##
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.
14 ##
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
18 ## for more details.
19 ##
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.
23 ##
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.
30 ##
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.
33 ##
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####
38
39 cdl_package CYGPKG_DEVS_ETH_ARM_TX27 {
40     display       "Ethernet driver for Ka-Ro electronics TX27 processor module"
41
42     parent        CYGPKG_IO_ETH_DRIVERS
43     active_if     CYGPKG_IO_ETH_DRIVERS
44
45     include_dir   cyg/io
46
47     cdl_interface CYGINT_DEVS_ETH_FEC_REQUIRED {
48         display   "FEC ethernet driver required"
49     }
50
51     cdl_component CYGPKG_DEVS_ETH_ARM_MXCBOARD_ETH0 {
52         display       "Ka-Ro TX27 ethernet port driver"
53         flavor        bool
54         default_value 1
55         description   "
56             This option includes the ethernet device driver for the
57             MXC Board port."
58
59         implements CYGHWR_NET_DRIVER_ETH0
60         implements CYGINT_DEVS_ETH_FEC_REQUIRED
61         requires CYGSEM_REDBOOT_PLF_ESA_VALIDATE
62         requires CYGHWR_DEVS_ETH_PHY_LAN8700
63
64         cdl_option CYGDAT_DEVS_ETH_ARM_MXCBOARD_ETH0_NAME {
65             display       "Device name for the ETH0 ethernet driver"
66             flavor        data
67             default_value {"\"eth0\""}
68             description   "
69                 This option sets the name of the ethernet device."
70         }
71
72         cdl_option CYGDAT_DEVS_ETH_ARM_TX27KARO_OUI {
73             display       "OUI part of MAC address"
74             flavor        data
75             active_if     CYGSEM_REDBOOT_PLF_ESA_VALIDATE
76             default_value { "{ 0x00, 0x0c, 0xc6 }" }
77             description   "
78                 This option sets OUI part (manufacturer ID) of the MAC address
79                 for validation."
80         }
81     }
82
83     define_proc {
84         puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
85         puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_FEC_CFG <pkgconf/devs_eth_arm_tx27.h>"
86         puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_FEC_INL <cyg/io/devs_eth_arm_tx27.inl>"
87         puts $::cdl_system_header "/*****  ethernet driver proc output end  *****/"
88     }
89 }