Skip to content

Commit 2a42499

Browse files
author
Paul Brook
committed
LAN9118 emulation
Add SMSC LAN9118 ethernet emulation. Signed-off-by: Paul Brook <paul@codesourcery.com>
1 parent e90e795 commit 2a42499

File tree

3 files changed

+1097
-0
lines changed

3 files changed

+1097
-0
lines changed

Makefile.target

+1
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ obj-arm-y += framebuffer.o
288288
obj-arm-y += syborg.o syborg_fb.o syborg_interrupt.o syborg_keyboard.o
289289
obj-arm-y += syborg_serial.o syborg_timer.o syborg_pointer.o syborg_rtc.o
290290
obj-arm-y += syborg_virtio.o
291+
obj-arm-y += lan9118.o
291292

292293
obj-sh4-y = shix.o r2d.o sh7750.o sh7750_regnames.o tc58128.o
293294
obj-sh4-y += sh_timer.o sh_serial.o sh_intc.o sh_pci.o sm501.o serial.o

hw/devices.h

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
/* smc91c111.c */
77
void smc91c111_init(NICInfo *, uint32_t, qemu_irq);
88

9+
/* lan9118.c */
10+
void lan9118_init(NICInfo *, uint32_t, qemu_irq);
11+
912
/* tsc210x.c */
1013
uWireSlave *tsc2102_init(qemu_irq pint);
1114
uWireSlave *tsc2301_init(qemu_irq penirq, qemu_irq kbirq, qemu_irq dav);

0 commit comments

Comments
 (0)