OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [devs/] [eth/] [arm/] [npwr/] [v2_0/] [cdl/] [npwr_eth_drivers.cdl] - Blame information for rev 587

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#       npwr_eth_drivers.cdl
4
#
5
#       Ethernet drivers
6
#       Intel NPWR and PRO/100+ platform specific 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 Red Hat, Inc.
13
## Copyright (C) 2002 Gary Thomas
14
##
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.
18
##
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
22
## for more details.
23
##
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.
27
##
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.
34
##
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.
37
##
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####
44
#
45
# Author(s):      hmt
46
# Original data:  hmt
47
# Contributors:   gthomas
48
# Date:           2000-02-01
49
#
50
#####DESCRIPTIONEND####
51
#
52
# ====================================================================
53
 
54
cdl_package CYGPKG_DEVS_ETH_ARM_XSCALE_NPWR {
55
    display       "NPWR Linux Engine with PRO/100+ ethernet driver"
56
 
57
    parent        CYGPKG_IO_ETH_DRIVERS
58
    active_if     CYGPKG_IO_ETH_DRIVERS
59
    active_if     CYGPKG_HAL_ARM_XSCALE_NPWR
60
 
61
    include_dir   cyg/io
62
 
63
    # FIXME: This really belongs in the INTEL_I82544 package
64
    cdl_interface CYGINT_DEVS_ETH_INTEL_I82544_REQUIRED {
65
        display   "Intel i82544 ethernet driver required"
66
    }
67
 
68
    define_proc {
69
        puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
70
        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_I82544_INL "
71
        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_I82544_CFG "
72
        puts $::cdl_system_header "/*****  ethernet driver proc output end  *****/"
73
    }
74
 
75
 
76
    cdl_component CYGPKG_DEVS_ETH_ARM_NPWR_I82544_ETH0 {
77
        display       "NPWR builtin ethernet port driver"
78
        flavor        bool
79
        default_value 1
80
        description   "
81
            This option includes the ethernet device driver for the
82
            NPWR builtin port."
83
 
84
        implements CYGHWR_NET_DRIVERS
85
        implements CYGHWR_NET_DRIVER_ETH0
86
        implements CYGINT_DEVS_ETH_INTEL_I82544_REQUIRED
87
 
88
        cdl_option CYGDAT_DEVS_ETH_ARM_NPWR_I82544_ETH0_NAME {
89
            display       "Device name for the ETH0 ethernet port driver"
90
            flavor        data
91
            default_value {"\"eth0\""}
92
            description   "
93
                This option sets the name of the ethernet device for the
94
                NPWR builtin port."
95
        }
96
 
97
        cdl_component CYGSEM_DEVS_ETH_ARM_NPWR_I82544_ETH0_SET_ESA {
98
            display       "Set the ethernet station address"
99
            flavor        bool
100
            default_value 0
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."
105
 
106
            cdl_option CYGDAT_DEVS_ETH_ARM_NPWR_I82544_ETH0_ESA {
107
                display       "The ethernet station address"
108
                flavor        data
109
                default_value {"{0x00, 0xB5, 0xE0, 0xB5, 0xE0, 0x11}"}
110
                description   "The ethernet station address"
111
            }
112
        }
113
 
114
    }
115
 
116
}
117
 
118
# EOF npwr_eth_drivers.cdl

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.