Changeset 7afcb26 in rtems
- Timestamp:
- 04/10/12 19:12:23 (12 years ago)
- Branches:
- 4.11, 5, master
- Children:
- abe87b9, dc62a48c
- Parents:
- e230fb4
- git-author:
- Daniel Hellstrom <daniel@…> (04/10/12 19:12:23)
- git-committer:
- Gedare Bloom <gedare@…> (04/10/12 19:12:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c
re230fb4 r7afcb26 48 48 iobar = amba_ahb_get_membar(amba_conf.ahbslv, i, 0); 49 49 base_addr = amba_iobar_start(LEON3_IO_AREA, iobar); 50 eth_irq = amba_irq(conf) + 0x10;50 eth_irq = amba_irq(conf); 51 51 device_found = 1; 52 52 break; … … 62 62 *(volatile int *) base_addr = 0; 63 63 leon_open_eth_configuration.base_address = base_addr; 64 leon_open_eth_configuration.vector = eth_irq ;64 leon_open_eth_configuration.vector = eth_irq + 0x10; 65 65 leon_open_eth_configuration.txd_count = TDA_COUNT; 66 66 leon_open_eth_configuration.rxd_count = RDA_COUNT; … … 68 68 if (LEON3_Timer_Regs->scaler_reload >= 49) leon_open_eth_configuration.en100MHz = 1; 69 69 if (rtems_open_eth_driver_attach( config, &leon_open_eth_configuration )) { 70 LEON_Clear_interrupt( leon_open_eth_configuration.vector);71 LEON_Unmask_interrupt( leon_open_eth_configuration.vector);70 LEON_Clear_interrupt(eth_irq); 71 LEON_Unmask_interrupt(eth_irq); 72 72 } 73 73 }
Note: See TracChangeset
for help on using the changeset viewer.