URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [io/] [eth/] [v2_0/] [cdl/] [eth_drivers.cdl] - Rev 419
Go to most recent revision | Compare with Previous | Blame | View Log
# ====================================================================## eth_drivers.cdl## Ethernet drivers - platform independent support## ====================================================================#####ECOSGPLCOPYRIGHTBEGIN###### -------------------------------------------## This file is part of eCos, the Embedded Configurable Operating System.## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.#### eCos is free software; you can redistribute it and/or modify it under## the terms of the GNU General Public License as published by the Free## Software Foundation; either version 2 or (at your option) any later version.#### eCos is distributed in the hope that it will be useful, but WITHOUT ANY## WARRANTY; without even the implied warranty of MERCHANTABILITY or## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License## for more details.#### You should have received a copy of the GNU General Public License along## with eCos; if not, write to the Free Software Foundation, Inc.,## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.#### As a special exception, if other files instantiate templates or use macros## or inline functions from this file, or you compile this file and link it## with other works to produce a work based on this file, this file does not## by itself cause the resulting work to be covered by the GNU General Public## License. However the source code for this file must still be made available## in accordance with section (3) of the GNU General Public License.#### This exception does not invalidate any other reasons why a work based on## this file might be covered by the GNU General Public License.#### Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.## at http://sources.redhat.com/ecos/ecos-license/## -------------------------------------------#####ECOSGPLCOPYRIGHTEND##### ====================================================================######DESCRIPTIONBEGIN###### Author(s): gthomas# Original data: gthomas# Contributors:# Date: 2000-01-25######DESCRIPTIONEND###### ====================================================================cdl_package CYGPKG_IO_ETH_DRIVERS {display "Common ethernet support"include_dir cyg/io/ethparent CYGPKG_IOdescription "Platform independent ethernet drivers"doc ref/io-eth-drv-generic.htmlimplements CYGPKG_NET_DRIVER_FRAMEWORKcdl_interface CYGINT_IO_ETH_MULTICAST {display "Driver supports multicast addressing"description "This interface defines whether or not a driver can handlerequests for multicast addressing."}cdl_component CYGDBG_IO_ETH_DRIVERS_DEBUG {display "Support printing driver debug information"flavor booldefault_value 1description "Selecting this option will include code to allow the driver toprint lots of information on diagnostic output such as fullpacket dumps."cdl_option CYGDBG_IO_ETH_DRIVERS_DEBUG_VERBOSITY {display "Driver debug output verbosity"flavor datadefault_value 0description "The value of this option indicates the default verbositylevel of debugging output. 0 means no debugging outputis made by default. Higher values indicate higher verbosity.The verbosity level may also be changed at run time bychanging the variable cyg_io_eth_net_debug."}}cdl_option CYGNUM_IO_ETH_DRIVERS_SG_LIST_SIZE {display "Size of scatter-gather I/O lists"flavor datadefault_value 32description "A scatter-gather list is used to pass requests to/fromthe physical device driver. This list can typically besmall, as the data is normally already packed into reasonablechunks."}cdl_component CYGPKG_IO_ETH_DRIVERS_NET {display "Support for standard eCos TCP/IP stack."flavor boolactive_if CYGPKG_NETrequires CYGINT_ISO_STRING_STRFUNCSimplements CYGINT_IO_ETH_INT_SUPPORT_REQUIREDdefault_value 1compile net/eth_drv.ccdl_component CYGPKG_IO_ETH_DRIVERS_WARN_NO_MBUFS {display "Warn when there are no more mbufs"flavor booldefault_value 1description "Warnings about running out of mbufs are printed to thediagnostic output channel via diag_printf() if this optionis enabled. Mbufs are the network stack's basic dynamicmemory objects that hold all packets in transit; runningout is bad for performance but not fatal, not a crash.You might want to turn off the warnings to preserve realtimeproperties of the system even in extremis."}cdl_component CYGPKG_IO_ETH_DRIVERS_SIMULATED_FAILURES {display "Simulate network failures for testing"flavor booldefault_value 0description "This package contains a suite of simulated failure modesfor the ethernet device layer, including dropping and/orcorrupting received packets, dropping packets queued fortransmission, and simulating a complete network break.It requires the kernel as a source of time information."cdl_option CYGPKG_IO_ETH_DRIVERS_SIMULATE_DROP_RX {display "Drop incoming packets (percentage)"flavor booldatalegal_values 10 50 80default_value 10}cdl_option CYGPKG_IO_ETH_DRIVERS_SIMULATE_CORRUPT_RX {display "Corrupt incoming packets (percentage)"flavor booldatalegal_values 10 50 80default_value 10}cdl_option CYGPKG_IO_ETH_DRIVERS_SIMULATE_DROP_TX {display "Drop outgoing packets (percentage)"flavor booldatalegal_values 10 50 80default_value 10}cdl_option CYGPKG_IO_ETH_DRIVERS_SIMULATE_LINE_CUT {display "Simulate a line cut from time to time"flavor booldefault_value 0description "This option causes the system to drop all packets for ashort random period (10s of seconds), and then actnormally for up to 4 times that long. This simulates yoursysadmin fiddling with plugs in the network switchcupboard."}}}cdl_component CYGPKG_IO_ETH_DRIVERS_STAND_ALONE {display "Support for stand-alone network stack."flavor boolactive_if !CYGPKG_NETrequires CYGINT_ISO_STRING_MEMFUNCSdefault_value 1compile stand_alone/eth_drv.ccdl_option CYGSEM_IO_ETH_DRIVERS_PASS_PACKETS {display "Pass packets to an alternate stack"flavor booldefault_value { 0 != CYGPKG_REDBOOT_NETWORKING }description "Define this to allow packets seen by this layer to bepassed on to the previous logical layer, i.e. whenstand-alone processing replaces system (eCos) processing."}cdl_option CYGNUM_IO_ETH_DRIVERS_NUM_PKT {display "Number of \[network\] buffers"flavor datadefault_value 4legal_values 2 to 32description "This option is used to allocate space to buffer incoming networkpackets. These buffers are used to hold data until they can belogically processed by higher layers."}cdl_option CYGSEM_IO_ETH_DRIVERS_WARN {display "Show driver warnings"active_if CYGPKG_REDBOOTflavor booldefault_value 0description "Selecting this option will allows the stand-alone ethernet driverto display warnings on the system console when incoming networkpackets are being discarded due to lack of buffer space."}}cdl_component CYGPKG_IO_ETH_DRIVERS_LWIP {display "Support for lwIP network stack."flavor boolrequires !CYGPKG_NETactive_if CYGPKG_NET_LWIPdefault_value 1implements CYGINT_IO_ETH_INT_SUPPORT_REQUIREDcompile lwip/eth_drv.c}cdl_interface CYGINT_IO_ETH_INT_SUPPORT_REQUIRED {display "Interrupt support required"flavor booldatadescription "This interface is used to indicate to the lowlevel device drivers that interrupt driven operationis required by higher layers."}cdl_component CYGPKG_IO_ETH_DRIVERS_OPTIONS {display "Common ethernet support build options"flavor noneno_definecdl_option CYGPKG_IO_ETH_DRIVERS_CFLAGS_ADD {display "Additional compiler flags"flavor datano_definedefault_value { "-D_KERNEL -D__ECOS" }description "This option modifies the set of compiler flags forbuilding the common ethernet support package. These flags are used in additionto the set of global flags."}}}# EOF eth_drivers.cdl
Go to most recent revision | Compare with Previous | Blame | View Log
