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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [eth/] [powerpc/] [ppc405/] [current/] [cdl/] [ppc405_eth_drivers.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      ppc405_eth_drivers.cdl
4
#
5
#      Ethernet drivers for PowerPC 405GP based platforms
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 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):      gthomas
43
# Original data:  gthomas
44
# Contributors:
45
# Date:           2003-08-15
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_package CYGPKG_DEVS_ETH_POWERPC_PPC405 {
52
    display       "PPC405 ethernet driver"
53
 
54
    parent        CYGPKG_IO_ETH_DRIVERS
55
    active_if     CYGPKG_IO_ETH_DRIVERS
56
    active_if     CYGPKG_HAL_POWERPC
57
    active_if     CYGPKG_HAL_POWERPC_PPC40x
58
    requires      { (CYGHWR_HAL_POWERPC_PPC4XX == "405GP") || (CYGHWR_HAL_POWERPC_PPC4XX == "405EP") }
59
    requires      CYGPKG_DEVS_ETH_PHY
60
 
61
    implements    CYGHWR_NET_DRIVERS
62
    implements    CYGHWR_NET_DRIVER_ETH0
63
    implements    CYGINT_IO_ETH_MULTICAST
64
    include_dir   .
65
    include_files ; # none _exported_ whatsoever
66
 
67
    # Debug I/O during network stack initialization is not reliable
68
    requires { !CYGPKG_NET || CYGPKG_NET_FORCE_SERIAL_CONSOLE == 1 }
69
 
70
    cdl_interface CYGHWR_DEVS_ETH_POWERPC_PPC405_NET_DRIVERS {
71
        display "Network drivers"
72
    }
73
    requires { CYGHWR_DEVS_ETH_POWERPC_PPC405_NET_DRIVERS == 1 }
74
 
75
    description   "Ethernet driver for PowerPC 405GP/EP boards."
76
    compile       -library=libextras.a if_ppc405.c
77
 
78
    cdl_option CYGNUM_DEVS_ETH_POWERPC_PPC405_BUFSIZE {
79
        display       "Buffer size"
80
        flavor        data
81
        default_value 1520
82
        description   "
83
            This option specifies the size of the internal buffers used
84
            for the PowerPC PPC405/ethernet device."
85
    }
86
 
87
    cdl_option CYGNUM_DEVS_ETH_POWERPC_PPC405_TxNUM {
88
        display       "Number of output buffers"
89
        flavor        data
90
        legal_values  2 to 64
91
        default_value 16
92
        description   "
93
            This option specifies the number of output buffer packets
94
            to be used for the PowerPC PPC405/ethernet device."
95
    }
96
 
97
    cdl_option CYGNUM_DEVS_ETH_POWERPC_PPC405_RxNUM {
98
        display       "Number of input buffers"
99
        flavor        data
100
        legal_values  2 to 64
101
        default_value 16
102
        description   "
103
            This option specifies the number of input buffer packets
104
            to be used for the PowerPC PPC405/ethernet device."
105
    }
106
 
107
    cdl_component CYGSEM_DEVS_ETH_POWERPC_PPC405_RESET_PHY {
108
        display "Reset and reconfigure PHY"
109
        flavor  bool
110
        default_value { CYG_HAL_STARTUP != "RAM" }
111
        description "
112
            This option allows control over the physical transceiver"
113
 
114
        cdl_option CYGNUM_DEVS_ETH_POWERPC_PPC405_LINK_MODE {
115
            display       "Initial link mode"
116
            flavor        data
117
            legal_values  { "10Mb" "100Mb" "Auto" }
118
            default_value { "Auto" }
119
            description   "
120
                This option specifies initial mode for the physical
121
                link.  The PHY will be reset and then set to this mode."
122
        }
123
    }
124
 
125
    cdl_component CYGPKG_DEVS_ETH_POWERPC_PPC405_OPTIONS {
126
        display "PPC405 ethernet driver build options"
127
        flavor  none
128
        no_define
129
 
130
        cdl_option CYGPKG_DEVS_ETH_POWERPC_PPC405_CFLAGS_ADD {
131
            display "Additional compiler flags"
132
            flavor  data
133
            no_define
134
            default_value { "-D_KERNEL -D__ECOS" }
135
            description   "
136
                This option modifies the set of compiler flags for
137
                building the PPC405 ethernet driver package. These flags are used in addition
138
                to the set of global flags."
139
        }
140
    }
141
}

powered by: WebSVN 2.1.0

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