Line 904... |
Line 904... |
{
|
{
|
struct config_section *sec = reg_config_sec("ethernet", eth_sec_start, eth_sec_end);
|
struct config_section *sec = reg_config_sec("ethernet", eth_sec_start, eth_sec_end);
|
|
|
reg_config_param(sec, "irq", paramt_int, eth_irq);
|
reg_config_param(sec, "irq", paramt_int, eth_irq);
|
reg_config_param(sec, "enabled", paramt_int, eth_enabled);
|
reg_config_param(sec, "enabled", paramt_int, eth_enabled);
|
reg_config_param(sec, "baseaddr", paramt_int, eth_baseaddr);
|
reg_config_param(sec, "baseaddr", paramt_addr, eth_baseaddr);
|
reg_config_param(sec, "dma", paramt_int, eth_dma);
|
reg_config_param(sec, "dma", paramt_int, eth_dma);
|
reg_config_param(sec, "rtx_type", paramt_int, eth_rtx_type);
|
reg_config_param(sec, "rtx_type", paramt_int, eth_rtx_type);
|
reg_config_param(sec, "rx_channel", paramt_int, eth_rx_channel);
|
reg_config_param(sec, "rx_channel", paramt_int, eth_rx_channel);
|
reg_config_param(sec, "tx_channel", paramt_int, eth_tx_channel);
|
reg_config_param(sec, "tx_channel", paramt_int, eth_tx_channel);
|
reg_config_param(sec, "rxfile", paramt_str, eth_rxfile);
|
reg_config_param(sec, "rxfile", paramt_str, eth_rxfile);
|