embeddedsw/XilinxProcessorIPLib/linux_drivers/emaclite/data/emaclite.tcl
git perforce import user a539aa2c1a Initial import of //Rodin/HEAD/data/embeddedsw/ from the state at revision #head
[git-p4: depot-paths = "//Rodin/HEAD/data/embeddedsw/": change = 884492]
2014-04-09 17:06:57 +05:30

12 lines
344 B
Tcl
Executable file

proc gen_mdio_node {drv_handle} {
set mdio_child_name "mdio"
set mdio [hsm::utils::add_new_child_node $drv_handle $mdio_child_name]
hsm::utils::add_new_property $mdio "#address-cells" int 1
hsm::utils::add_new_property $mdio "#size-cells" int 0
return $mdio
}
proc generate {drv_handle} {
gen_mdio_node $drv_handle
}