/* Ignore Symbios chips controlled by various RAID controllers. These controllers set value 0x52414944 at RAM end - 16.  */
static int __devinit sym_check_raid(struct sym_device *device)
/* Ignore Symbios chips controlled by various RAID controllers. These controllers set value 0x52414944 at RAM end - 16.  */
static int __devinit sym_check_raid(struct sym_device *device)
{
	unsigned int ram_size, ram_val;
	if (!device->s.ramaddr)
		return 0;
	if (device->chip.features & FE_RAM8K)
		ram_size = 8192;
	else
		ram_size = 4096;
	ram_val = readl(device->s.ramaddr + ram_size - 16);
	if (ram_val != 0x52414944)
		return 0;
	dev_info(&device->pdev->dev,
			"not initializing, driven by RAID controller.\n");
	return -ENODEV;
}