ethernet: Fix TCL errors in the driver
This patch fixes the tcl errors in the driver when axi ethernet is configured with the axi stream fifo. Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
This commit is contained in:
parent
764f7417ec
commit
a150538391
2 changed files with 8 additions and 3 deletions
|
@ -43,6 +43,8 @@
|
||||||
# properly (CR 810643)
|
# properly (CR 810643)
|
||||||
# 29/10/14 adk Added support for generating parameters for SGMII/1000BaseX modes
|
# 29/10/14 adk Added support for generating parameters for SGMII/1000BaseX modes
|
||||||
# When IP is configured with the PCS/PMA core (CR 828796)
|
# When IP is configured with the PCS/PMA core (CR 828796)
|
||||||
|
# 8/1/15 adk Fixed TCL errors when axiethernet is configured with the
|
||||||
|
# Axi stream fifo (CR 835605).
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#uses "xillib.tcl"
|
#uses "xillib.tcl"
|
||||||
|
@ -237,9 +239,9 @@ proc xdefine_axi_target_params {periphs file_handle} {
|
||||||
add_field_to_periph_config_struct $device_id 0xFF
|
add_field_to_periph_config_struct $device_id 0xFF
|
||||||
} else {
|
} else {
|
||||||
set canonical_name [format "XPAR_%s_CONNECTED_FIFO_INTR" $canonical_tag]
|
set canonical_name [format "XPAR_%s_CONNECTED_FIFO_INTR" $canonical_tag]
|
||||||
set target_periph_name [string toupper [get_property NAME $target_periph_type]]
|
set temp [string toupper $int_pin]
|
||||||
puts $file_handle [format "#define $canonical_name XPAR_FABRIC_%s_S2MM_INTROUT_INTR" $target_periph_name]
|
puts $file_handle [format "#define $canonical_name XPAR_FABRIC_%s_%s_INTR" $target_periph_name $temp]
|
||||||
add_field_to_periph_config_struct $deviceid $canonical_name
|
add_field_to_periph_config_struct $device_id $canonical_name
|
||||||
puts $file_handle [format "#define XPAR_%s_CONNECTED_DMARX_INTR 0xFF" $canonical_tag]
|
puts $file_handle [format "#define XPAR_%s_CONNECTED_DMARX_INTR 0xFF" $canonical_tag]
|
||||||
puts $file_handle [format "#define XPAR_%s_CONNECTED_DMATX_INTR 0xFF" $canonical_tag]
|
puts $file_handle [format "#define XPAR_%s_CONNECTED_DMATX_INTR 0xFF" $canonical_tag]
|
||||||
add_field_to_periph_config_struct $device_id 0xFF
|
add_field_to_periph_config_struct $device_id 0xFF
|
||||||
|
|
|
@ -457,6 +457,9 @@
|
||||||
* 4.3 adk 29/10/14 - Added support for generating parameters for SGMII/1000BaseX
|
* 4.3 adk 29/10/14 - Added support for generating parameters for SGMII/1000BaseX
|
||||||
* modes When IP is configured with the PCS/PMA core.
|
* modes When IP is configured with the PCS/PMA core.
|
||||||
* Changes are made in the driver tcl file (CR 828796).
|
* Changes are made in the driver tcl file (CR 828796).
|
||||||
|
* 4.4 adk 8/1/15 - Fixed TCL errors when axiethernet is configured with the
|
||||||
|
* Axi stream fifo (CR 835605). Changes are made in the
|
||||||
|
* driver tcl file.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
Loading…
Add table
Reference in a new issue