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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [eth/] [opencores/] [ethmac/] [current/] [cdl/] [opencores_ethmac_eth_drivers.cdl] - Blame information for rev 798

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 798 skrzyp
# ====================================================================
2
#
3
#       opencores_ethmac_eth_drivers.cdl
4
#
5
#       OpenCores ETHMAC ethernet driver
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY 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
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):      Piotr Skrzypek
43
# Original data:
44
# Contributors:
45
# Date:           2012-04-10
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_package CYGPKG_DEVS_ETH_OPENCORES_ETHMAC {
52
 
53
    display       "OpenCores ETHMAC ethernet driver"
54
    description   "Ethernet driver for OpenCores ETHMAC controller."
55
 
56
    parent        CYGPKG_IO_ETH_DRIVERS
57
    active_if     CYGPKG_IO_ETH_DRIVERS
58
 
59
    implements    CYGHWR_NET_DRIVERS
60
    implements    CYGHWR_NET_DRIVER_ETH0
61
 
62
    compile       -library=libextras.a if_ethmac.c
63
 
64
    cdl_option CYGPKG_DEVS_ETH_OPENCORES_ETHMAC_MACADDR {
65
        display "Ethernet station (MAC) address for eth0"
66
        flavor  data
67
        default_value {"0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC"}
68
        description   "The default ethernet station address. This is the
69
                       MAC address used when no value is found in the
70
                       RedBoot FLASH configuration field."
71
    }
72
 
73
    cdl_option CYGPKG_DEVS_ETH_OPENCORES_ETHMAC_INT {
74
        display "Interrupt vector number"
75
        flavor  data
76
        default_value { 4 }
77
        description   "
78
            This is the number of PIC channel that ETHMAC is connected
79
            to."
80
    }
81
 
82
    cdl_option CYGPKG_DEVS_ETH_OPENCORES_ETHMAC_INT_PRIO {
83
        display "Interrupt priority"
84
        flavor  data
85
        default_value { 4 }
86
        description   "
87
            Priority of delayed interrupt routine that takes care
88
            of ETHMAC."
89
    }
90
 
91
    cdl_option CYGPKG_DEVS_ETH_OPENCORES_ETHMAC_TXBUF_COUNT {
92
        display "Number of transmit buffers"
93
        flavor  data
94
        default_value { 1 }
95
        legal_values 1 to 64
96
        description   "
97
            The number of transmit buffers. More buffers help
98
            increse the throughput, but require maintenance time
99
            and  memory."
100
    }
101
 
102
    cdl_option CYGPKG_DEVS_ETH_OPENCORES_ETHMAC_RXBUF_COUNT {
103
        display "Number of receive buffers"
104
        flavor  data
105
        default_value { 1 }
106
        legal_values 1 to 64
107
        description   "
108
            The number of receive buffers. More buffers prevent
109
            missing packets, but require more maintenance time
110
            and memory."
111
    }
112
 
113
    cdl_option CYGPKG_DEVS_ETH_OPENCORES_ETHMAC_PACKETLEN {
114
        display "Maximum frame length"
115
        flavor  data
116
        default_value { 1536 }
117
        description   "
118
            Specify maximum packet length. This value will be
119
            programmed into the MAC. It is also a size of receive
120
            buffers."
121
    }
122
 
123
    cdl_option CYGPKG_DEVS_ETH_OPENCORES_ETHMAC_FULLDUPLEX {
124
        display "Enable full duplex transmission"
125
        flavor  bool
126
        default_value { 1 }
127
        description   "
128
            Enable full duplex when configuring ETHMAC."
129
    }
130
 
131
    cdl_component CYGPKG_DEVS_ETH_OPENCORES_ETHMAC_OPTIONS {
132
        display "ETHMAC controller driver build options"
133
        flavor  none
134
        no_define
135
 
136
        cdl_option CYGPKG_DEVS_ETH_OPENCORES_ETHMAC_CFLAGS_ADD {
137
            display "Additional compiler flags"
138
            flavor  data
139
            no_define
140
            default_value { "-D_KERNEL -D__ECOS" }
141
            description   "
142
                This option modifies the set of compiler flags for
143
                building the ETHMAC controller driver package.
144
                These flags are used in addition to the set of global
145
                flags."
146
        }
147
    }
148
 
149
 
150
}
151
# EOF opencores_ethmac_eth_drivers.cdl

powered by: WebSVN 2.1.0

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