ethermac: reduce interrupt overhead
[nios2ecos.git] / eth_ocm / eth_ocm_sw.tcl
blob2950d16b2522551a1401ef50e2ec51f9a9923243
2 # eth_ocm_sw.tcl
5 # Create a new driver
6 create_driver eth_ocm_driver
8 # Associate it with some hardware known as "eth_ocm"
9 set_sw_property hw_class_name eth_ocm
11 # The version of this driver is "7.2"
12 set_sw_property version 7.2
14 # This driver may be incompatible with versions of hardware less
15 # than specified below. Updates to hardware and device drivers
16 # rendering the driver incompatible with older versions of
17 # hardware are noted with this property assignment.
19 # Multiple-Version compatibility was introduced in version 7.1;
20 # prior versions are therefore excluded.
21 set_sw_property min_compatible_hw_version 7.2
23 # Initialize the driver in alt_sys_init()
24 set_sw_property auto_initialize true
26 # Location in generated BSP that above sources will be copied into
27 set_sw_property bsp_subdirectory drivers
30 # Source file listings...
33 # C/C++ source files
34 add_sw_property c_source HAL/src/ins_eth_ocm.c
35 add_sw_property c_source HAL/src/eth_ocm_phy.c
37 # Include files
38 add_sw_property include_source HAL/inc/eth_ocm.h
39 add_sw_property include_source HAL/inc/ins_eth_ocm.h
40 add_sw_property include_source HAL/inc/eth_ocm_phy.h
41 add_sw_property include_source HAL/inc/eth_ocm_desc.h
42 add_sw_property include_source inc/eth_ocm_regs.h
44 # This driver supports HAL & UCOSII BSP (OS) types
45 add_sw_property supported_bsp_type HAL
46 add_sw_property supported_bsp_type UCOSII
48 # Add the following per_driver configuration option to the BSP:
49 # o Type of setting (boolean_define_only translates to "either
50 # emit a #define if true, or don't if false"). Useful for
51 # source code with "#ifdef" style build-options.
52 # o Generated file to write to (public_mk_define -> public.mk)
53 # o Name of setting for use with bsp command line settings tools
54 # (enable_small_driver). This name will be combined with the
55 # driver class to form a settings hierarchy to assure unique
56 # settings names
57 # o '#define' in driver code (and therefore string in generated
58 # makefile): "ALTERA_TRIPLE_SPEED_MAC", which means: "emit
59 # CPPFLAGS += ALTERA_TRIPLE_SPEED_MAC in generated makefile
60 # o Default value (if the user doesn't specify at BSP creation): true
61 # (which means: 'emit above CPPFLAGS string in generated makefile)
62 # o Description text
63 add_sw_setting boolean_define_only public_mk_define enable_uncached_packets ALTERA_TRIPLE_SPEED_MAC true "Enable uncached packet allocation for InterNiche Stack"
66 # End of file