From a65f56eeba9152e243f5f08cd0ae7556e27f6fb3 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Wed, 15 Apr 2009 14:57:54 +0000 Subject: 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 Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7112 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/mips.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hw/mips.h') diff --git a/hw/mips.h b/hw/mips.h index 26f022939c..57448f9e2b 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 -- cgit v1.2.3-55-g7522