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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [eth/] [sh/] [se7751/] [current/] [cdl/] [sh_se7751_eth_drivers.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      se7751_eth_drivers.cdl
4
#
5
#      Ethernet drivers - support for AMD PCnet ethernet controller
6
#      on the Hitachi SE7751 board.
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 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
45
# Date:           2001-04-02
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_package CYGPKG_DEVS_ETH_SH_SE7751 {
52
    display       "Hitachi SE7751 board ethernet driver"
53
    description   "Ethernet driver for Hitachi SE7751 board."
54
 
55
    parent        CYGPKG_IO_ETH_DRIVERS
56
    active_if     CYGPKG_IO_ETH_DRIVERS
57
    active_if     CYGPKG_HAL_SH_SH7751_SE7751
58
 
59
    include_dir   cyg/io
60
 
61
    # FIXME: This really belongs in the AMD_PCNET package
62
    cdl_interface CYGINT_DEVS_ETH_AMD_PCNET_REQUIRED {
63
        display   "AMD PCNET ethernet driver required"
64
    }
65
 
66
    define_proc {
67
        puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
68
        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_AMD_PCNET_INL "
69
        puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_AMD_PCNET_CFG "
70
        puts $::cdl_system_header "/*****  ethernet driver proc output end  *****/"
71
    }
72
 
73
    cdl_component CYGPKG_DEVS_ETH_SH_SE7751_ETH0 {
74
        display       "SE7751 ethernet port 0 driver"
75
        flavor        bool
76
        default_value 1
77
        description   "
78
            This option includes the ethernet device driver for the
79
            SE7751 port 0."
80
 
81
        implements CYGHWR_NET_DRIVERS
82
        implements CYGHWR_NET_DRIVER_ETH0
83
        implements CYGINT_DEVS_ETH_AMD_PCNET_REQUIRED
84
 
85
        cdl_option CYGNUM_DEVS_ETH_SH_SE7751_ETH0_RX_RING_SIZE {
86
            display       "Size of RX ring for ETH0"
87
            flavor        data
88
            default_value 4
89
            legal_values  { 4 8 16 32 64 128 }
90
            description   "
91
                This option sets the size of the RX ring."
92
        }
93
 
94
        cdl_option CYGNUM_DEVS_ETH_SH_SE7751_ETH0_TX_RING_SIZE {
95
            display       "Size of TX ring for ETH0"
96
            flavor        data
97
            default_value 16
98
            legal_values  { 4 8 16 32 64 128 }
99
            description   "
100
                This option sets the size of the TX ring."
101
        }
102
 
103
        cdl_option CYGDAT_DEVS_ETH_SH_SE7751_ETH0_NAME {
104
            display       "Device name for the ETH0 ethernet port 0 driver"
105
            flavor        data
106
            default_value {"\"eth0\""}
107
            description   "
108
                This option sets the name of the ethernet device for the
109
                SE7751 port 0."
110
        }
111
 
112
        cdl_component CYGSEM_DEVS_ETH_SH_SE7751_ETH0_SET_ESA {
113
            display       "Set the ethernet station address"
114
            flavor        bool
115
            calculated    1
116
            description   "Enabling this option will allow the ethernet
117
            station address to be forced to the value set by the
118
            configuration.  This may be required if the hardware does
119
            not include a serial EEPROM for the ESA."
120
 
121
            cdl_option CYGDAT_DEVS_ETH_SH_SE7751_ETH0_ESA {
122
                display       "The ethernet station address"
123
                flavor        data
124
                default_value {"{0x08, 0x88, 0x12, 0x34, 0x56, 0x78}"}
125
                description   "The ethernet station address"
126
            }
127
        }
128
    }
129
}

powered by: WebSVN 2.1.0

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