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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [eth/] [frv/] [pdk403/] [current/] [cdl/] [pdk403_eth_drivers.cdl] - Blame information for rev 810

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

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      pdk403_eth_drivers.cdl
4
#
5
#      Ethernet drivers - support for AXL88796 Ethernet controller
6
#      on the Fujitsu MB93093-PD01 Portable Demonstration Kit.
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, 2004 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
17
## version.
18
##
19
## eCos is distributed in the hope that it will be useful, but WITHOUT
20
## ANY 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
25
## along with eCos; if not, write to the Free Software Foundation, Inc.,
26
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
27
##
28
## As a special exception, if other files instantiate templates or use
29
## macros or inline functions from this file, or you compile this file
30
## and link it with other works to produce a work based on this file,
31
## this file does not by itself cause the resulting work to be covered by
32
## the GNU General Public License. However the source code for this file
33
## must still be made available in accordance with section (3) of the GNU
34
## General Public License v2.
35
##
36
## This exception does not invalidate any other reasons why a work based
37
## on this file might be covered by the GNU General Public License.
38
## -------------------------------------------
39
## ####ECOSGPLCOPYRIGHTEND####
40
# ====================================================================
41
######DESCRIPTIONBEGIN####
42
#
43
# Author(s):      jskov
44
# Contributors:   jskov, hmt, gthomas
45
# Date:           2001-02-28
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_package CYGPKG_DEVS_ETH_FRV_PDK403 {
52
    display       "PDK403 ethernet driver"
53
    description   "
54
        Ethernet drivers for Fujitsu MB93093-PD01 PDK."
55
 
56
    parent        CYGPKG_IO_ETH_DRIVERS
57
    active_if     CYGPKG_IO_ETH_DRIVERS
58
    requires      CYGPKG_DEVS_ETH_NS_DP83902A
59
 
60
    implements    CYGHWR_NET_DRIVER_ETH0
61
    include_dir   cyg/io
62
 
63
    compile       -library=libextras.a pdk403_eth_init.c
64
 
65
    # FIXME: This really belongs in the NS DP83902A package
66
    cdl_interface CYGINT_DEVS_ETH_NS_DP83902A_REQUIRED {
67
        display   "NS DP83902A ethernet driver required"
68
    }
69
 
70
    define_proc {
71
        puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
72
        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_NS_DP83902A_INL "
73
        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_NS_DP83902A_CFG "
74
        puts $::cdl_system_header "/*****  ethernet driver proc output end  *****/"
75
    }
76
 
77
    cdl_component CYGPKG_DEVS_ETH_PDK403_ETH0 {
78
        display       "AXL88796 ethernet port driver"
79
        flavor        bool
80
        default_value 1
81
        description   "
82
            This option includes the ethernet device driver for the
83
            AXL88796 Ethernet port on the PDK403 board."
84
 
85
        implements CYGINT_DEVS_ETH_NS_DP83902A_REQUIRED
86
 
87
        cdl_option CYGDAT_DEVS_ETH_PDK403_ETH0_NAME {
88
            display       "Device name for the ETH0 ethernet driver"
89
            flavor        data
90
            default_value {"\"eth0\""}
91
            description   "
92
                This option sets the name of the ethernet device."
93
        }
94
 
95
        cdl_component CYGSEM_DEVS_ETH_PDK403_ETH0_SET_ESA {
96
            display       "Set the ethernet station address"
97
            flavor        bool
98
            default_value 0
99
            description   "Enabling this option will allow the ethernet
100
            station address to be forced to the value set by the
101
            configuration.  This may be required if the hardware does
102
            not include a serial EEPROM for the ESA."
103
 
104
            cdl_option CYGDAT_DEVS_ETH_PDK403_ETH0_ESA {
105
                display       "The ethernet station address"
106
                flavor        data
107
                default_value {"{0x08, 0x88, 0x12, 0x34, 0x56, 0x78}"}
108
                description   "The ethernet station address"
109
            }
110
        }
111
    }
112
 
113
    cdl_component CYGPKG_DEVS_ETH_PDK403_OPTIONS {
114
        display "PCMCIA ethernet driver build options"
115
        flavor  none
116
        no_define
117
 
118
        cdl_option CYGPKG_DEVS_ETH_PDK403_CFLAGS_ADD {
119
            display "Additional compiler flags"
120
            flavor  data
121
            no_define
122
            default_value { "-D_KERNEL -D__ECOS" }
123
            description   "
124
                This option modifies the set of compiler flags for
125
                building the PCMCIA ethernet driver package.
126
                These flags are used in addition
127
                to the set of global flags."
128
        }
129
    }
130
}
131
 
132
# EOF pdk403_eth_drivers.cdl

powered by: WebSVN 2.1.0

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