source: SVN/cambria/redboot/packages/devs/eth/arm/kixrp435/npe/current/cdl/kixrp435_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@…>

File size: 4.7 KB
Line 
1# ====================================================================
2#
3#       kixrp435_npe_eth_driver.cdl
4#
5#       Ethernet driver
6#       KIXRP435 and builting NPE support
7#
8# ====================================================================
9#####ECOSGPLCOPYRIGHTBEGIN####
10## -------------------------------------------
11## This file is part of eCos, the Embedded Configurable Operating System.
12## Copyright (C) 2007 Free Software Foundation, 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#####ECOSGPLCOPYRIGHTEND####
38# ====================================================================
39######DESCRIPTIONBEGIN####
40#
41# Author(s):      msalter
42# Original data: 
43# Contributors:   
44# Date:           2007-01-05
45#
46#####DESCRIPTIONEND####
47#
48# ====================================================================
49
50cdl_package CYGPKG_DEVS_ETH_ARM_KIXRP435_NPE {
51    display       "KIXRP435 with builtin NPE ethernet driver"
52    parent        CYGPKG_IO_ETH_DRIVERS
53    active_if     CYGPKG_IO_ETH_DRIVERS
54    active_if     CYGPKG_HAL_ARM_XSCALE_KIXRP435
55    requires      CYGPKG_DEVS_ETH_INTEL_NPE
56    # implements    CYGINT_DEVS_ETH_INTEL_NPE_PHY_DISCOVERY
57
58    include_dir   cyg/io
59
60    # FIXME: This really belongs in the INTEL_NPE package
61    cdl_interface CYGINT_DEVS_ETH_INTEL_NPE_REQUIRED {
62        display   "Intel Network Processor ethernet driver required"
63    }
64
65    define_proc {
66        puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
67        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_NPE_INL <cyg/io/kixrp435_npe.inl>"
68 
69        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_NPE_CFG <pkgconf/devs_eth_arm_kixrp435_npe.h>"
70
71        puts $::cdl_system_header "/*****  ethernet driver proc output end  *****/"
72    }
73
74    cdl_component CYGPKG_DEVS_ETH_ARM_KIXRP435_NPE_ETH0 {
75        display       "KIXRP435 ethernet port driver for NPE C"
76        flavor        bool
77        default_value 1
78        description   "
79            This option includes the KIXRP435 ethernet device driver for
80            builtin NPE C."
81
82        implements CYGHWR_NET_DRIVERS
83        implements CYGHWR_NET_DRIVER_ETH0
84        implements CYGINT_DEVS_ETH_INTEL_NPE_REQUIRED
85
86        cdl_option CYGDAT_DEVS_ETH_ARM_KIXRP435_NPE_ETH0_NAME {
87            display       "Device name for the ETH0 ethernet port driver"
88            flavor        data
89            default_value {"\"eth0\""}
90            description   "
91                This option sets the name of the ethernet device for a
92                NPEC-based ethernet port."
93        }
94    }
95
96    cdl_component CYGPKG_DEVS_ETH_ARM_KIXRP435_NPE_ETH1 {
97        display       "KIXRP435 ethernet port driver for NPE A"
98        flavor        bool
99        default_value 1
100        description   "
101            This option includes the KIXRP435 ethernet device driver for
102            builtin NPE A."
103
104        implements CYGHWR_NET_DRIVERS
105        implements CYGHWR_NET_DRIVER_ETH1
106        implements CYGINT_DEVS_ETH_INTEL_NPE_REQUIRED
107
108        cdl_option CYGDAT_DEVS_ETH_ARM_KIXRP435_NPE_ETH1_NAME {
109            display       "Device name for the ETH1 ethernet port driver"
110            flavor        data
111            default_value {"\"eth1\""}
112            description   "
113                This option sets the name of the ethernet device for a
114                NPEA-based ethernet port."
115        }
116    }
117               
118                cdl_option CYGSEM_DEVS_ETH_INTEL_NPE_PLATFORM_EEPROM {
119        display       "Platform uses EEPROM to hold MAC addresses."
120        flavor bool
121        default_value 1
122    }
123}
124
Note: See TracBrowser for help on using the repository browser.