void scsi_bus_legacy_handle_cmdline(SCSIBus *bus)

{

    DriveInfo *dinfo;

    int unit;



    for (unit = 0; unit < MAX_SCSI_DEVS; unit++) {

        dinfo = drive_get(IF_SCSI, bus->busnr, unit);

        if (dinfo == NULL) {

            continue;

        }

        scsi_bus_legacy_add_drive(bus, dinfo, unit);

    }

}

void scsi_bus_legacy_handle_cmdline(SCSIBus *bus)

{

    DriveInfo *dinfo;

    int unit;



    for (unit = 0; unit < MAX_SCSI_DEVS; unit++) {

        dinfo = drive_get(IF_SCSI, bus->busnr, unit);

        if (dinfo == NULL) {

            continue;

        }

        scsi_bus_legacy_add_drive(bus, dinfo, unit);

    }

}

void scsi_bus_legacy_handle_cmdline(SCSIBus *bus)     int unit;         scsi_bus_legacy_add_drive(bus, dinfo, unit);
void FUNC_0(SCSIBus *VAR_0)

{

    DriveInfo *dinfo;

    int VAR_1;



    for (VAR_1 = 0; VAR_1 < MAX_SCSI_DEVS; VAR_1++) {

        dinfo = drive_get(IF_SCSI, VAR_0->busnr, VAR_1);

        if (dinfo == NULL) {

            continue;

        }

        scsi_bus_legacy_add_drive(VAR_0, dinfo, VAR_1);

    }

}

void FUNC_0(SCSIBus *VAR_0)
{ DriveInfo *dinfo; int VAR_1; for (VAR_1 = 0; VAR_1 < MAX_SCSI_DEVS; VAR_1++) { dinfo = drive_get(IF_SCSI, VAR_0->busnr, VAR_1); if (dinfo == NULL) { continue; } scsi_bus_legacy_add_drive(VAR_0, dinfo, VAR_1); } }