rem: { BLKDEV_MAX_BLOCKS_ITEM, B_UINT32_TYPE, { ui32: 255 }},
add: { B_BLOCK_DEVICE_MAX_BLOCKS_ITEM, B_UINT32_TYPE, { ui32: 255 }},
context: ide_channel_added(device_node_handle parent){	char *controller_name = NULL;	uint32 channel_id;	SHOW_FLOW0(2, "");	if (pnp->get_attr_string(parent, IDE_CONTROLLER_CONTROLLER_NAME_ITEM, 			&controller_name, true) != B_OK) {		dprintf("ide: ignored controller - controller name missing\n");		goto err;	}	channel_id = pnp->create_id(IDE_CHANNEL_ID_GENERATOR);	if (channel_id < 0) {		SHOW_ERROR(0, "Cannot register IDE controller %s - out of IDs", controller_name);		goto err;	}	{		device_attr attrs[] =		{			{ B_DRIVER_MODULE, B_STRING_TYPE, { string: IDE_SIM_MODULE_NAME }},			{ B_DRIVER_FIXED_CHILD, B_STRING_TYPE, { string: SCSI_FOR_SIM_MODULE_NAME }},			{ SCSI_DESCRIPTION_CONTROLLER_NAME, B_STRING_TYPE, 				{ string: controller_name }},			// maximum number of blocks per transmission:			// - ATAPI uses packets, i.e. normal SCSI limits apply			//   but I'm not sure about controller restrictions			// - ATA allows up to 256 blocks			// - some broken disk's firmware (read: IBM DTTA drives)			//   don't like 256 blocks in command queuing mode			// -> use 255 blocks as a least common nominator			//    (this is still 127.5K for HDs and 510K for CDs, 			//     which should be sufficient)			// Note: to fix specific drive bugs, use ide_sim_get_restrictions()			// in ide_sim.c!			{ BLKDEV_MAX_BLOCKS_ITEM, B_UINT32_TYPE, { ui32: 255 }},			{ IDE_CHANNEL_ID_ITEM, B_UINT32_TYPE, { ui32: channel_id }},			{ PNP_MANAGER_ID_GENERATOR, B_STRING_TYPE, { string: IDE_CHANNEL_ID_GENERATOR }},			{ PNP_MANAGER_AUTO_ID, B_UINT32_TYPE, { ui32: channel_id }},			{ NULL }		};		device_node_handle node;		status_t res;		res = pnp->register_device(parent, attrs, NULL, &node);		free(controller_name);		return res;	}err:	free(controller_name);	return B_NO_MEMORY;}