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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [io/] [usb/] [eth/] [slave/] [v2_0/] [cdl/] [usbs_eth.cdl] - Diff between revs 27 and 174

Only display areas with differences | Details | Blame | View Log

Rev 27 Rev 174
# ====================================================================
# ====================================================================
#
#
#      usbs_eth.cdl
#      usbs_eth.cdl
#
#
#      USB slave-side ethernet package.
#      USB slave-side ethernet package.
#
#
# ====================================================================
# ====================================================================
#####ECOSGPLCOPYRIGHTBEGIN####
#####ECOSGPLCOPYRIGHTBEGIN####
## -------------------------------------------
## -------------------------------------------
## This file is part of eCos, the Embedded Configurable Operating System.
## This file is part of eCos, the Embedded Configurable Operating System.
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
##
##
## eCos is free software; you can redistribute it and/or modify it under
## 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
## 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.
## 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
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## for more details.
## for more details.
##
##
## You should have received a copy of the GNU General Public License along
## You should have received a copy of the GNU General Public License along
## with eCos; if not, write to the Free Software Foundation, Inc.,
## with eCos; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
##
##
## As a special exception, if other files instantiate templates or use macros
## 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
## 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
## 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
## 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
## License. However the source code for this file must still be made available
## in accordance with section (3) of the GNU General Public License.
## 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 exception does not invalidate any other reasons why a work based on
## this file might be covered by the GNU General Public License.
## this file might be covered by the GNU General Public License.
##
##
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
## at http://sources.redhat.com/ecos/ecos-license/
## at http://sources.redhat.com/ecos/ecos-license/
## -------------------------------------------
## -------------------------------------------
#####ECOSGPLCOPYRIGHTEND####
#####ECOSGPLCOPYRIGHTEND####
# ====================================================================
# ====================================================================
######DESCRIPTIONBEGIN####
######DESCRIPTIONBEGIN####
#
#
# Author(s):      bartv
# Author(s):      bartv
# Original data:  bartv
# Original data:  bartv
# Contributors:
# Contributors:
# Date:           2000-10-04
# Date:           2000-10-04
#
#
#####DESCRIPTIONEND####
#####DESCRIPTIONEND####
# ====================================================================
# ====================================================================
cdl_package CYGPKG_IO_USB_SLAVE_ETH {
cdl_package CYGPKG_IO_USB_SLAVE_ETH {
    display     "USB slave ethernet support"
    display     "USB slave ethernet support"
    include_dir "cyg/io/usb"
    include_dir "cyg/io/usb"
    parent      CYGPKG_IO_USB_SLAVE
    parent      CYGPKG_IO_USB_SLAVE
    requires    { CYGHWR_IO_USB_SLAVE_OUT_ENDPOINTS >= 1 }
    requires    { CYGHWR_IO_USB_SLAVE_OUT_ENDPOINTS >= 1 }
    requires    { CYGHWR_IO_USB_SLAVE_IN_ENDPOINTS >= 1 }
    requires    { CYGHWR_IO_USB_SLAVE_IN_ENDPOINTS >= 1 }
    compile     usbseth.c
    compile     usbseth.c
    implements  CYGINT_IO_USB_SLAVE_CLIENTS
    implements  CYGINT_IO_USB_SLAVE_CLIENTS
    doc         ref/io-usb-slave-eth.html
    doc         ref/io-usb-slave-eth.html
    description "
    description "
        The USB slave ethernet package supports the development
        The USB slave ethernet package supports the development
        of USB peripherals which provide an ethernet service to
        of USB peripherals which provide an ethernet service to
        the host machine. Such a peripheral could be a simple
        the host machine. Such a peripheral could be a simple
        USB-ethernet converter, or it could be rather more
        USB-ethernet converter, or it could be rather more
        complicated internally."
        complicated internally."
    cdl_component CYGPKG_USBS_ETHDRV {
    cdl_component CYGPKG_USBS_ETHDRV {
        display         "Provide a driver for a TCP/IP stack."
        display         "Provide a driver for a TCP/IP stack."
        requires        CYGPKG_IO_ETH_DRIVERS
        requires        CYGPKG_IO_ETH_DRIVERS
        implements      CYGHWR_NET_DRIVERS
        implements      CYGHWR_NET_DRIVERS
        default_value   CYGPKG_NET
        default_value   CYGPKG_NET
        compile         -library=libextras.a usbsethdrv.c
        compile         -library=libextras.a usbsethdrv.c
        description "
        description "
            The primary purpose of USB slave ethernet support is to provide
            The primary purpose of USB slave ethernet support is to provide
            an ethernet service to the USB host. This is very different
            an ethernet service to the USB host. This is very different
            from a conventional network driver which provides a service
            from a conventional network driver which provides a service
            to a TCP/IP stack running inside the peripheral. If this
            to a TCP/IP stack running inside the peripheral. If this
            component is enabled then the USB-ethernet code will implement
            component is enabled then the USB-ethernet code will implement
            an eCos network driver, thus supporting both a host-side TCP/IP
            an eCos network driver, thus supporting both a host-side TCP/IP
            stack and an eCos stack. This raises issues such as enabling
            stack and an eCos stack. This raises issues such as enabling
            the bridge code in the stack, and the package documentation
            the bridge code in the stack, and the package documentation
            should be consulted for further information."
            should be consulted for further information."
        cdl_option CYGFUN_USBS_ETHDRV_STATISTICS {
        cdl_option CYGFUN_USBS_ETHDRV_STATISTICS {
            display       "Maintain traffic statistics"
            display       "Maintain traffic statistics"
            flavor        bool
            flavor        bool
            default_value CYGPKG_SNMPAGENT
            default_value CYGPKG_SNMPAGENT
            description "
            description "
                The USB network device driver can maintain some statistics
                The USB network device driver can maintain some statistics
                about traffic, for example the number of incoming and
                about traffic, for example the number of incoming and
                outgoing packets. These statistics are intended mainly
                outgoing packets. These statistics are intended mainly
                for SNMP agent software."
                for SNMP agent software."
        }
        }
        cdl_option CYGDAT_USBS_ETHDRV_NAME {
        cdl_option CYGDAT_USBS_ETHDRV_NAME {
            display       "Name to use for this network device"
            display       "Name to use for this network device"
            flavor        data
            flavor        data
            default_value { (1 == CYGHWR_NET_DRIVERS) ? "\"eth0\"" : "\"eth1\"" }
            default_value { (1 == CYGHWR_NET_DRIVERS) ? "\"eth0\"" : "\"eth1\"" }
            description "
            description "
                The name of this network device for control purposes.
                The name of this network device for control purposes.
            "
            "
        }
        }
        cdl_option CYGPRI_USBS_ETHDRV_ETH0 {
        cdl_option CYGPRI_USBS_ETHDRV_ETH0 {
            display       "Enable/disable generic eth0 configury"
            display       "Enable/disable generic eth0 configury"
            flavor        bool
            flavor        bool
            calculated    { "\"eth0\"" == CYGDAT_USBS_ETHDRV_NAME }
            calculated    { "\"eth0\"" == CYGDAT_USBS_ETHDRV_NAME }
            implements    CYGHWR_NET_DRIVER_ETH0
            implements    CYGHWR_NET_DRIVER_ETH0
            requires      !CYGHWR_NET_DRIVER_ETH0_BOOTP
            requires      !CYGHWR_NET_DRIVER_ETH0_BOOTP
        }
        }
        cdl_option CYGPRI_USBS_ETHDRV_ETH1 {
        cdl_option CYGPRI_USBS_ETHDRV_ETH1 {
            display       "Enable/disable generic eth1 configury"
            display       "Enable/disable generic eth1 configury"
            flavor        bool
            flavor        bool
            calculated    { "\"eth1\"" == CYGDAT_USBS_ETHDRV_NAME }
            calculated    { "\"eth1\"" == CYGDAT_USBS_ETHDRV_NAME }
            implements    CYGHWR_NET_DRIVER_ETH1
            implements    CYGHWR_NET_DRIVER_ETH1
            requires      !CYGHWR_NET_DRIVER_ETH1_BOOTP
            requires      !CYGHWR_NET_DRIVER_ETH1_BOOTP
        }
        }
    }
    }
}
}
 
 

powered by: WebSVN 2.1.0

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