Add pci_find_bus
[qemu-kvm/fedora.git] / hw / fdc.h
blob50de250881530e3704c7debd60fc9bde352c5cdf
1 /* fdc.c */
2 #define MAX_FD 2
3 extern BlockDriverState *fd_table[MAX_FD];
5 typedef struct fdctrl_t fdctrl_t;
7 fdctrl_t *fdctrl_init (qemu_irq irq, int dma_chann, int mem_mapped,
8 target_phys_addr_t io_base,
9 BlockDriverState **fds);
10 fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base,
11 BlockDriverState **fds);
12 int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num);