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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [devs/] [eth/] [smsc/] [lan91cxx/] [v2_0/] [cdl/] [smsc_lan91cxx_eth_drivers.cdl] - Blame information for rev 262

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

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      smsc_lan91cxx_eth_drivers.cdl
4
#
5
#      Ethernet drivers - support for LAN91CXX compatible ethernet controllers
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 Red Hat, 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 version.
16
##
17
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20
## for more details.
21
##
22
## You should have received a copy of the GNU General Public License along
23
## with eCos; if not, write to the Free Software Foundation, Inc.,
24
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25
##
26
## As a special exception, if other files instantiate templates or use macros
27
## or inline functions from this file, or you compile this file and link it
28
## with other works to produce a work based on this file, this file does not
29
## by itself cause the resulting work to be covered by the GNU General Public
30
## License. However the source code for this file must still be made available
31
## in accordance with section (3) of the GNU General Public License.
32
##
33
## This exception does not invalidate any other reasons why a work based on
34
## this file might be covered by the GNU General Public License.
35
##
36
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37
## at http://sources.redhat.com/ecos/ecos-license/
38
## -------------------------------------------
39
#####ECOSGPLCOPYRIGHTEND####
40
# ====================================================================
41
######DESCRIPTIONBEGIN####
42
#
43
# Author(s):      gthomas
44
# Contributors:   gthomas, jskov
45
# Date:           2000-11-22
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_package CYGPKG_DEVS_ETH_SMSC_LAN91CXX {
52
    display       "SMSC LAN91CXX compatible ethernet driver"
53
    description   "Ethernet driver for SMSC LAN91CXX compatible controllers."
54
 
55
    parent        CYGPKG_IO_ETH_DRIVERS
56
    active_if     CYGPKG_IO_ETH_DRIVERS
57
 
58
    active_if     CYGINT_DEVS_ETH_SMSC_LAN91CXX_REQUIRED
59
 
60
    include_dir   .
61
    include_files ; # none _exported_ whatsoever
62
    compile       -library=libextras.a if_lan91cxx.c
63
 
64
    define_proc {
65
        puts $::cdl_header "#include ";
66
        puts $::cdl_header "#include CYGDAT_DEVS_ETH_SMSC_LAN91CXX_CFG";
67
    }
68
 
69
    cdl_option CYGSEM_DEVS_ETH_SMSC_LAN91CXX_WRITE_EEPROM {
70
        display "SIOCSIFHWADDR records ESA (MAC address) in EEPROM"
71
        default_value 0
72
        description   "
73
            The ioctl() socket call with operand SIOCSIFHWADDR sets the
74
            interface hardware address - the MAC address or Ethernet Station
75
            Address (ESA).  This option causes the new MAC address to be written
76
            into the EEPROM associated with the interface, so that the new
77
            MAC address is permanently recorded.  Doing this should be a
78
            carefully chosen decision, hence this option."
79
    }
80
 
81
    cdl_interface CYGINT_DEVS_ETH_SMSC_LAN91CXX_STATIC_ESA {
82
        display "ESA is statically configured"
83
        description "
84
            If this is nonzero, then the ESA (MAC address) is statically
85
            configured in the platform-specific package which instantiates
86
            this driver with all its details."
87
    }
88
 
89
    cdl_interface CYGINT_DEVS_ETH_SMSC_LAN91CXX_PCMCIA_MODE {
90
        display "Chip is wired in PCMCIA mode"
91
        description "
92
            If this is nonzero, then the chip is assumed to be hardware
93
            configured in PCMCIA mode."
94
    }
95
 
96
    cdl_component CYGPKG_DEVS_ETH_SMSC_LAN91CXX_OPTIONS {
97
        display "LAN91CXX ethernet driver build options"
98
        flavor  none
99
        no_define
100
 
101
        cdl_option CYGPKG_DEVS_ETH_SMSC_LAN91CXX_CFLAGS_ADD {
102
            display "Additional compiler flags"
103
            flavor  data
104
            no_define
105
            default_value { "-D_KERNEL -D__ECOS" }
106
            description   "
107
                This option modifies the set of compiler flags for
108
                building the LAN91CXX ethernet driver package.
109
                These flags are used in addition
110
                to the set of global flags."
111
        }
112
    }
113
}

powered by: WebSVN 2.1.0

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