mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
hw: add OpenCores 10/100 Mbps Ethernet controller
This is OpenCores Ethernet MAC + subset of National Semiconductors DP83838C PHY. OpenCores Ethernet MAC project: http://opencores.org/project,ethmac Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
@@ -258,6 +258,7 @@ hw-obj-$(CONFIG_RTL8139_PCI) += rtl8139.o
|
||||
hw-obj-$(CONFIG_SMC91C111) += smc91c111.o
|
||||
hw-obj-$(CONFIG_LAN9118) += lan9118.o
|
||||
hw-obj-$(CONFIG_NE2000_ISA) += ne2000-isa.o
|
||||
hw-obj-$(CONFIG_OPENCORES_ETH) += opencores_eth.o
|
||||
|
||||
# IDE
|
||||
hw-obj-$(CONFIG_IDE_CORE) += ide/core.o ide/atapi.o
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -538,3 +538,17 @@ esp_mem_writeb_cmd_ensel(uint32_t val) "Enable selection (%2.2x)"
|
||||
# monitor.c
|
||||
handle_qmp_command(void *mon, const char *cmd_name) "mon %p cmd_name \"%s\""
|
||||
monitor_protocol_emitter(void *mon) "mon %p"
|
||||
|
||||
# hw/opencores_eth.c
|
||||
open_eth_mii_write(unsigned idx, uint16_t v) "MII[%02x] <- %04x"
|
||||
open_eth_mii_read(unsigned idx, uint16_t v) "MII[%02x] -> %04x"
|
||||
open_eth_update_irq(uint32_t v) "IRQ <- %x"
|
||||
open_eth_receive(unsigned len) "RX: len: %u"
|
||||
open_eth_receive_mcast(unsigned idx, uint32_t h0, uint32_t h1) "MCAST: idx = %u, hash: %08x:%08x"
|
||||
open_eth_receive_reject(void) "RX: rejected"
|
||||
open_eth_receive_desc(uint32_t addr, uint32_t len_flags) "RX: %08x, len_flags: %08x"
|
||||
open_eth_start_xmit(uint32_t addr, unsigned len, unsigned tx_len) "TX: %08x, len: %u, tx_len: %u"
|
||||
open_eth_reg_read(uint32_t addr, uint32_t v) "MAC[%02x] -> %08x"
|
||||
open_eth_reg_write(uint32_t addr, uint32_t v) "MAC[%02x] <- %08x"
|
||||
open_eth_desc_read(uint32_t addr, uint32_t v) "DESC[%04x] -> %08x"
|
||||
open_eth_desc_write(uint32_t addr, uint32_t v) "DESC[%04x] <- %08x"
|
||||
|
||||
Reference in New Issue
Block a user