summaryrefslogtreecommitdiff
path: root/hw/mips.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-15 14:57:54 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-15 14:57:54 +0000
commita65f56eeba9152e243f5f08cd0ae7556e27f6fb3 (patch)
treec38d54976e7feec943fd9597b92d881d559ffa0f /hw/mips.h
parenttarget-alpha: fix emulation of ecb (diff)
downloadqemu-kvm-a65f56eeba9152e243f5f08cd0ae7556e27f6fb3.tar.gz
qemu-kvm-a65f56eeba9152e243f5f08cd0ae7556e27f6fb3.tar.bz2
qemu-kvm-a65f56eeba9152e243f5f08cd0ae7556e27f6fb3.zip
Implement sonic netcard (MIPS Jazz)
Attached patch adds emulation of a SONIC netcard. This card has been used in MIPS Jazz machines and in some Apple Mac 68K. Emulation has been done using dp83932 specification, but can be enhanced (if needed) to also emulate dp83916, dp83934 or dp83936 chipsets. This has been tested in Linux 2.1, NetBSD 1.6.2 and MS Windows NT/MIPS Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7112 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips.h')
-rw-r--r--hw/mips.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/mips.h b/hw/mips.h
index 26f022939..57448f9e2 100644
--- a/hw/mips.h
+++ b/hw/mips.h
@@ -35,4 +35,9 @@ void rc4030_dma_write(void *dma, uint8_t *buf, int len);
void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
qemu_irq **irqs, rc4030_dma **dmas);
+/* dp8393x.c */
+void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
+ qemu_irq irq, void* mem_opaque,
+ void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
+
#endif