⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ebsa285_eth_drivers.cdl

📁 移植到WLIT项目的redboot源代码
💻 CDL
字号:
# ====================================================================##	ebsa285_eth_drivers.cdl##	Ethernet drivers#	Intel EBSA285 and PRO/100+ platform specific support## ====================================================================#####COPYRIGHTBEGIN#####                                                                          # -------------------------------------------                              # The contents of this file are subject to the Red Hat eCos Public License # Version 1.1 (the "License"); you may not use this file except in         # compliance with the License.  You may obtain a copy of the License at    # http://www.redhat.com/                                                   #                                                                          # Software distributed under the License is distributed on an "AS IS"      # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the # License for the specific language governing rights and limitations under # the License.                                                             #                                                                          # The Original Code is eCos - Embedded Configurable Operating System,      # released September 30, 1998.                                             #                                                                          # The Initial Developer of the Original Code is Red Hat.                   # Portions created by Red Hat are                                          # Copyright (C) 1998, 1999, 2000 Red Hat, Inc.                             # All Rights Reserved.                                                     # -------------------------------------------                              #                                                                          #####COPYRIGHTEND##### ====================================================================######DESCRIPTIONBEGIN###### Author(s):      hmt# Original data:  hmt# Contributors:	  gthomas# Date:           2000-02-01######DESCRIPTIONEND###### ====================================================================cdl_package CYGPKG_DEVS_ETH_ARM_EBSA285 {    display       "Intel EBSA285 with PRO/100+ ethernet driver"    parent        CYGPKG_IO_ETH_DRIVERS    active_if     CYGPKG_IO_ETH_DRIVERS    active_if     CYGPKG_HAL_ARM_EBSA285    implements    CYGHWR_NET_DRIVER_ETH0    implements    CYGHWR_NET_DRIVER_ETH1    # yes, there should be two of these "implement"s    implements    CYGHWR_NET_DRIVERS    implements    CYGHWR_NET_DRIVERS    include_dir   cyg/devs/eth    # SNMP demands to know stuff; this sadly makes us break the neat    # abstraction of the device having nothing exported.    # The other one is used by other tests:    include_files tests/test_net_realtime.h include/ebsa285_info.h    # and tell them that it is available    define_proc {        puts $::cdl_header \       "#define CYGTST_DEVS_ETH_TEST_NET_REALTIME <cyg/devs/eth/tests/test_net_realtime.h>"	puts $::cdl_system_header \       "#define CYGBLD_DEVS_ETH_DEVICE_H <pkgconf/devs_eth_arm_ebsa285.h>"    }    description   "Ethernet driver for Intel EBSA285 with PRO/100+ boards."    compile       -library=libextras.a if_ebsa285.c    cdl_option CYGDBG_DEVS_ETH_ARM_EBSA285_CHATTER {	display "Prints ethernet device status info during startup"	default_value 0	description   "	    The ethernet device initialization code can print lots of info	    to confirm that it has found the devices on the PCI bus, read	    the MAC address from EEPROM correctly, and so on, and also	    displays the mode (10/100MHz, half/full duplex) of the	    connection."    }    cdl_option CYGNUM_DEVS_ETH_ARM_EBSA285_DEV_COUNT {	display "Number of supported interfaces."        legal_values  1 2	default_value 2        flavor        data	description   "	    This option selects the number of PCI ethernet interfaces to            be supported by the driver."    }    cdl_component CYGDBG_DEVS_ETH_ARM_EBSA285_KEEP_STATISTICS {	display "Keep Ethernet statistics"	default_value 1	description   "	    The ethernet device can maintain statistics about the network,	    specifically a great variety of error rates which are useful	    for network management.  SNMP for example uses this	    information.  There is some performance cost in maintaining	    this information; disable this option to recoup that."	cdl_option CYGDBG_DEVS_ETH_ARM_EBSA285_KEEP_82559_STATISTICS {	    display "Keep i82559 Internal statistics"	    default_value 1	    description   "	        The i82559 keeps internal counters, and it is possible to	        acquire these.  But the i82559 (reputedly) does not service	        the network whilst uploading the data to RAM from its	        internal registers.  If throughput is a problem, disable	        this option to acquire only those statistics gathered by	        software, so that the i82559 never sleeps."	}    }    cdl_component CYGPKG_DEVS_ETH_ARM_EBSA285_WRITE_EEPROM {	display "SIOCSIFHWADDR records MAC address in EEPROM"	default_value 0	description   "	    The ioctl() socket call with operand SIOCSIFHWADDR sets the	    interface hardware address - the MAC address or ethernet	    address.  This option causes the new MAC address to be written	    into the EEPROM associated with the interface, so that the new	    MAC address is permanently recorded.  Doing this should be a	    carefully chosen decision, hence this option."    }    cdl_component CYGPKG_DEVS_ETH_ARM_EBSA285_OPTIONS {        display "Intel EBSA285 with PRO/100+ ethernet driver build options"        flavor  none	no_define        cdl_option CYGPKG_DEVS_ETH_ARM_EBSA285_CFLAGS_ADD {            display "Additional compiler flags"            flavor  data            no_define            default_value { "-D_KERNEL -D__ECOS" }            description   "                This option modifies the set of compiler flags for                building the Intel EBSA285 with PRO/100+ ethernet driver                package. These flags are used in addition to the set of                global flags."        }    }}# EOF ebsa285_eth_drivers.cdl

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -