/* Depending on the platform configuration, the SIE's are created and the corresponding subdriver is initialized (c67x00_probe_sie).  */
static void c67x00_probe_sie(struct c67x00_sie *sie, struct c67x00_device *dev, int sie_num)
/* Depending on the platform configuration, the SIE's are created and the corresponding subdriver is initialized (c67x00_probe_sie).  */
static void c67x00_probe_sie(struct c67x00_sie *sie, struct c67x00_device *dev, int sie_num)
{
	spin_lock_init(&sie->lock);
	sie->dev = dev;
	sie->sie_num = sie_num;
	sie->mode = c67x00_sie_config(dev->pdata->sie_config, sie_num);
	switch (sie->mode) {
	case C67X00_SIE_HOST:
		c67x00_hcd_probe(sie);
		break;
	case C67X00_SIE_UNUSED:
		dev_info(sie_dev(sie),
			 "Not using SIE %d as requested\n", sie->sie_num);
		break;
	default:
		dev_err(sie_dev(sie),
			"Unsupported configuration: 0x%x for SIE %d\n",
			sie->mode, sie->sie_num);
		break;
	}
}