diff options
Diffstat (limited to 'hw/mips_jazz.c')
-rw-r--r-- | hw/mips_jazz.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index 5cc709a52f..292137fec9 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@ -129,8 +129,6 @@ void mips_jazz_init (ram_addr_t ram_size, qemu_irq *rc4030, *i8259; rc4030_dma *dmas; void* rc4030_opaque; - void *scsi_hba; - int hd; int s_rtc, s_dma_dummy; NICInfo *nd; PITState *pit; @@ -226,15 +224,9 @@ void mips_jazz_init (ram_addr_t ram_size, } /* SCSI adapter */ - scsi_hba = esp_init(0x80002000, 0, - rc4030_dma_read, rc4030_dma_write, dmas[0], - rc4030[5], &esp_reset); - for (n = 0; n < ESP_MAX_DEVS; n++) { - hd = drive_get_index(IF_SCSI, 0, n); - if (hd != -1) { - esp_scsi_attach(scsi_hba, drives_table[hd].bdrv, n); - } - } + esp_init(0x80002000, 0, + rc4030_dma_read, rc4030_dma_write, dmas[0], + rc4030[5], &esp_reset); /* Floppy */ if (drive_get_max_bus(IF_FLOPPY) >= MAX_FD) { |