ISABus *isa_bus_new(DeviceState *dev)

{

    if (isabus) {

        fprintf(stderr, "Can't create a second ISA bus\n");

        return NULL;

    }

    if (NULL == dev) {

        dev = qdev_create(NULL, "isabus-bridge");

        qdev_init(dev);

    }



    isabus = FROM_QBUS(ISABus, qbus_create(&isa_bus_info, dev, NULL));

    return isabus;

}

ISABus *isa_bus_new(DeviceState *dev)

{

    if (isabus) {

        fprintf(stderr, "Can't create a second ISA bus\n");

        return NULL;

    }

    if (NULL == dev) {

        dev = qdev_create(NULL, "isabus-bridge");

        qdev_init(dev);

    }



    isabus = FROM_QBUS(ISABus, qbus_create(&isa_bus_info, dev, NULL));

    return isabus;

}

        return NULL;         return NULL;         qdev_init(dev);         qdev_init(dev);
ISABus *FUNC_0(DeviceState *dev)

{

    if (isabus) {

        fprintf(stderr, "Can't create a second ISA bus\n");

        return NULL;

    }

    if (NULL == dev) {

        dev = qdev_create(NULL, "isabus-bridge");

        qdev_init(dev);

    }



    isabus = FROM_QBUS(ISABus, qbus_create(&isa_bus_info, dev, NULL));

    return isabus;

}

ISABus *FUNC_0(DeviceState *dev)
{ if (isabus) { fprintf(stderr, "Can't create a second ISA bus\n"); return NULL; } if (NULL == dev) { dev = qdev_create(NULL, "isabus-bridge"); qdev_init(dev); } isabus = FROM_QBUS(ISABus, qbus_create(&isa_bus_info, dev, NULL)); return isabus; }