rem: config->area_mbbar = map_physical_memory("ich_ac97 mbbar io",(void *)config->mbbar, B_PAGE_SIZE, B_ANY_KERNEL_BLOCK_ADDRESS, B_READ_AREA | B_WRITE_AREA, &config->log_mbbar);
add: config->area_mbbar = map_mem(&config->log_mbbar, (void *)config->mbbar, ICH4_MBBAR_SIZE, "ich_ac97 mbbar io");
context: status_t map_io_memory(void){	if ((config->type & TYPE_ICH4) == 0)		return B_OK;	ASSERT(config->log_mmbar == 0);	ASSERT(config->log_mbbar == 0);	ASSERT(config->mmbar != 0);	ASSERT(config->mbbar != 0);		config->area_mmbar = map_physical_memory("ich_ac97 mmbar io",(void *)config->mmbar, B_PAGE_SIZE, B_ANY_KERNEL_BLOCK_ADDRESS, B_READ_AREA | B_WRITE_AREA, &config->log_mmbar);	if (config->area_mmbar <= B_OK) {		LOG(("mapping of mmbar io failed, error = %#x\n",config->area_mmbar));		return B_ERROR;	}	LOG(("mapping of mmbar: area %#x, phys %#x, log %#x\n", config->area_mmbar, config->mmbar, config->log_mmbar));	config->area_mbbar = map_physical_memory("ich_ac97 mbbar io",(void *)config->mbbar, B_PAGE_SIZE, B_ANY_KERNEL_BLOCK_ADDRESS, B_READ_AREA | B_WRITE_AREA, &config->log_mbbar);	if (config->area_mbbar <= B_OK) {		LOG(("mapping of mbbar io failed, error = %#x\n",config->area_mbbar));		delete_area(config->area_mmbar);		config->area_mmbar = -1;		return B_ERROR;	}	LOG(("mapping of mbbar: area %#x, phys %#x, log %#x\n", config->area_mbbar, config->mbbar, config->log_mbbar));	return B_OK;}