source: SVN/cambria/redboot/packages/devs/eth/arm/ixdp425/npe/current/cdl/ixdp425_npe_eth_driver.cdl @ 1

Last change on this file since 1 was 1, checked in by Tim Harvey, 2 years ago

restored latest version of files from server backup

Signed-off-by: Tim Harvey <tharvey@…>

  • Property svn:executable set to *
File size: 4.8 KB
Line 
1# ====================================================================
2#
3#       ixdp425_npe_eth_driver.cdl
4#
5#       Ethernet driver
6#       IXDP425 and builting NPE support
7#
8# ====================================================================
9#####ECOSGPLCOPYRIGHTBEGIN####
10## -------------------------------------------
11## This file is part of eCos, the Embedded Configurable Operating System.
12## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.
13##
14## eCos is free software; you can redistribute it and/or modify it under
15## the terms of the GNU General Public License as published by the Free
16## Software Foundation; either version 2 or (at your option) any later version.
17##
18## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
19## WARRANTY; without even the implied warranty of MERCHANTABILITY or
20## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21## for more details.
22##
23## You should have received a copy of the GNU General Public License along
24## with eCos; if not, write to the Free Software Foundation, Inc.,
25## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26##
27## As a special exception, if other files instantiate templates or use macros
28## or inline functions from this file, or you compile this file and link it
29## with other works to produce a work based on this file, this file does not
30## by itself cause the resulting work to be covered by the GNU General Public
31## License. However the source code for this file must still be made available
32## in accordance with section (3) of the GNU General Public License.
33##
34## This exception does not invalidate any other reasons why a work based on
35## this file might be covered by the GNU General Public License.
36##
37## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
38## at http://sources.redhat.com/ecos/ecos-license/
39## -------------------------------------------
40#####ECOSGPLCOPYRIGHTEND####
41# ====================================================================
42######DESCRIPTIONBEGIN####
43#
44# Author(s):      msalter
45# Original data:  hmt
46# Contributors:   gthomas
47# Date:           2003-03-20
48#
49#####DESCRIPTIONEND####
50#
51# ====================================================================
52
53cdl_package CYGPKG_DEVS_ETH_ARM_IXDP425_NPE {
54    display       "IXDP425 with builtin NPE ethernet driver"
55    parent        CYGPKG_IO_ETH_DRIVERS
56    active_if     CYGPKG_IO_ETH_DRIVERS
57    active_if     CYGPKG_HAL_ARM_XSCALE_IXDP425
58    requires      CYGPKG_DEVS_ETH_INTEL_NPE
59
60    include_dir   cyg/io
61
62    # FIXME: This really belongs in the INTEL_NPE package
63    cdl_interface CYGINT_DEVS_ETH_INTEL_NPE_REQUIRED {
64        display   "Intel Network Processor ethernet driver required"
65    }
66
67    define_proc {
68        puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
69        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_NPE_INL <cyg/io/ixdp425_npe.inl>"
70 
71        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_NPE_CFG <pkgconf/devs_eth_arm_ixdp425_npe.h>"
72
73        puts $::cdl_system_header "/*****  ethernet driver proc output end  *****/"
74    }
75
76
77    cdl_component CYGPKG_DEVS_ETH_ARM_IXDP425_NPE_ETH0 {
78        display       "IXDP425 ethernet port driver for NPE B"
79        flavor        bool
80        default_value 1
81        description   "
82            This option includes the IXDP425 ethernet device driver for
83            builtin NPE B."
84
85        implements CYGHWR_NET_DRIVERS
86        implements CYGHWR_NET_DRIVER_ETH0
87        implements CYGINT_DEVS_ETH_INTEL_NPE_REQUIRED
88
89        cdl_option CYGDAT_DEVS_ETH_ARM_IXDP425_NPE_ETH0_NAME {
90            display       "Device name for the ETH0 ethernet port driver"
91            flavor        data
92            default_value {"\"eth0\""}
93            description   "
94                This option sets the name of the ethernet device for a
95                NPEB-based ethernet port."
96        }
97    }
98
99    cdl_component CYGPKG_DEVS_ETH_ARM_IXDP425_NPE_ETH1 {
100        display       "IXDP425 ethernet port driver for NPE C"
101        flavor        bool
102        default_value 1
103        description   "
104            This option includes the IXDP425 ethernet device driver for
105            builtin NPE C."
106
107        implements CYGHWR_NET_DRIVERS
108        implements CYGHWR_NET_DRIVER_ETH1
109        implements CYGINT_DEVS_ETH_INTEL_NPE_REQUIRED
110
111        cdl_option CYGDAT_DEVS_ETH_ARM_IXDP425_NPE_ETH1_NAME {
112            display       "Device name for the ETH1 ethernet port driver"
113            flavor        data
114            default_value {"\"eth1\""}
115            description   "
116                This option sets the name of the ethernet device for a
117                NPEC-based ethernet port."
118        }
119    }
120
121    cdl_option CYGSEM_DEVS_ETH_INTEL_NPE_PLATFORM_EEPROM {
122        display       "Platform uses EEPROM to hold MAC addresses."
123        flavor bool
124        default_value 1
125    }
126}
127
Note: See TracBrowser for help on using the repository browser.