Revision 7d8406be hw/versatilepb.c

b/hw/versatilepb.c
343 343
    CPUState *env;
344 344
    void *pic;
345 345
    void *sic;
346
    void *scsi_hba;
346 347
    PCIBus *pci_bus;
347 348
    NICInfo *nd;
348 349
    int n;
......
377 378
    if (usb_enabled) {
378 379
        usb_ohci_init(pci_bus, 3, -1);
379 380
    }
381
    scsi_hba = lsi_scsi_init(pci_bus, -1);
382
    for (n = 0; n < MAX_DISKS; n++) {
383
        if (bs_table[n]) {
384
            lsi_scsi_attach(scsi_hba, bs_table[n], n);
385
        }
386
    }
380 387

  
381 388
    pl011_init(0x101f1000, pic, 12, serial_hds[0]);
382 389
    pl011_init(0x101f2000, pic, 13, serial_hds[1]);

Also available in: Unified diff