add: }
context: init_driver(void) {	void *settings_handle;	// get driver/accelerant settings, apsed	settings_handle  = load_driver_settings (DRIVER_PREFIX ".settings");	if (settings_handle != NULL) {		const char *item;		char       *end;		uint32      value;				// for driver		item = get_driver_parameter (settings_handle, "accelerant", "", "");		if ((strlen (item) > 0) && (strlen (item) < sizeof (current_settings.accelerant) - 1)) {			strcpy (current_settings.accelerant, item);		}		current_settings.dumprom = get_driver_boolean_parameter (settings_handle, "dumprom", false, false);		// for accelerant		item = get_driver_parameter (settings_handle, "logmask", "0x00000000", "0x00000000");		value = strtoul (item, &end, 0);		if (*end == '\0') current_settings.logmask = value;		item = get_driver_parameter (settings_handle, "memory", "0", "0");		value = strtoul (item, &end, 0);		if (*end == '\0') current_settings.memory = value;		current_settings.hardcursor = get_driver_boolean_parameter (settings_handle, "hardcursor", false, false);		current_settings.usebios = get_driver_boolean_parameter (settings_handle, "usebios", false, false);		unload_driver_settings (settings_handle);	}	/* get a handle for the pci bus */	if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)		return B_ERROR;	/* get a handle for the isa bus */	if (get_module(B_ISA_MODULE_NAME, (module_info **)&isa_bus) != B_OK)		return B_ERROR;	/* driver private data */	pd = (DeviceData *)calloc(1, sizeof(DeviceData));	if (!pd) {		put_module(B_PCI_MODULE_NAME);		put_module(B_ISA_MODULE_NAME);		return B_ERROR;	}	/* initialize the benaphore */	INIT_BEN(pd->kernel);	/* find all of our supported devices */	probe_devices();	return B_OK;}