raw-posix: Remove O_RDWR when attempting to open a file read-only
[qemu-kvm/fedora.git] / hw / scsi.h
blob369998f838b42c79fc9e0ff288af602ec9868241
1 /* esp.c */
2 #define ESP_MAX_DEVS 7
3 typedef void (*espdma_memory_read_write)(void *opaque, uint8_t *buf, int len);
4 void esp_init(target_phys_addr_t espaddr, int it_shift,
5 espdma_memory_read_write dma_memory_read,
6 espdma_memory_read_write dma_memory_write,
7 void *dma_opaque, qemu_irq irq, qemu_irq *reset);