aboutsummaryrefslogtreecommitdiff
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
parentffc500ea02cdd2fcf3925bc2141309e056643c1f (diff)
downloadqemu-a65f56eeba9152e243f5f08cd0ae7556e27f6fb3.zip
qemu-a65f56eeba9152e243f5f08cd0ae7556e27f6fb3.tar.gz
qemu-a65f56eeba9152e243f5f08cd0ae7556e27f6fb3.tar.bz2
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 26f0229..57448f9 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