forked from Imagelibrary/rtems
leon3: Open Ethernet Fixed Warning
This commit is contained in:
@@ -54,7 +54,7 @@ int rtems_leon_open_eth_driver_attach(
|
||||
*(volatile int *) base_addr = 0;
|
||||
*(volatile int *) base_addr = 0x800;
|
||||
*(volatile int *) base_addr = 0;
|
||||
leon_open_eth_configuration.base_address = base_addr;
|
||||
leon_open_eth_configuration.base_address = (void *) base_addr;
|
||||
leon_open_eth_configuration.vector = eth_irq + 0x10;
|
||||
leon_open_eth_configuration.txd_count = TDA_COUNT;
|
||||
leon_open_eth_configuration.rxd_count = RDA_COUNT;
|
||||
|
||||
Reference in New Issue
Block a user