diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-02 08:48:47 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-02 08:48:47 +0000 |
commit | 8b17de88e0dbe05a4ed2b6b7c9f402857a584930 (patch) | |
tree | cd5de4e95aba04f0c5efba3a68fb1ac559902ef6 /hw/scsi.h | |
parent | e1ffb0f18f01dfedbff344bfeaf85ef9bd2084c4 (diff) |
Let ESP SCSI adapter to be usable outside sun4m (Herv�oussineau)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4007 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/scsi.h')
-rw-r--r-- | hw/scsi.h | 8 |
1 files changed, 8 insertions, 0 deletions
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); |