From 8b17de88e0dbe05a4ed2b6b7c9f402857a584930 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 2 Mar 2008 08:48:47 +0000 Subject: =?UTF-8?q?Let=20ESP=20SCSI=20adapter=20to=20be=20usable=20outside?= =?UTF-8?q?=20sun4m=20(Herv=EF=BF=BDoussineau)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4007 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/scsi.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 hw/scsi.h (limited to 'hw/scsi.h') diff --git a/hw/scsi.h b/hw/scsi.h new file mode 100644 index 0000000000..a90927fc1e --- /dev/null +++ b/hw/scsi.h @@ -0,0 +1,8 @@ +/* esp.c */ +#define ESP_MAX_DEVS 7 +typedef void (*espdma_memory_read_write)(void *opaque, uint8_t *buf, int len); +void esp_scsi_attach(void *opaque, BlockDriverState *bd, int id); +void *esp_init(target_phys_addr_t espaddr, + espdma_memory_read_write dma_memory_read, + espdma_memory_read_write dma_memory_write, + void *dma_opaque, qemu_irq irq, qemu_irq *reset); -- cgit v1.2.1