static void sil_quirkproc(ide_drive_t *drive) { ide_hwif_t *hwif = drive->hwif; if (!is_sata(hwif) || !is_dev_seagate_sata(drive)) hwif->rqsize = 128; }
static void __devinit sil_quirkproc(ide_drive_t *drive) { ide_hwif_t *hwif = drive->hwif; /* Try and rise the rqsize */ if (!is_sata(hwif) || !is_dev_seagate_sata(drive)) hwif->rqsize = 128; }
static void __init init_iops_siimage (ide_hwif_t *hwif) { struct pci_dev *dev = hwif->pci_dev; u32 class_rev = 0; pci_read_config_dword(dev, PCI_CLASS_REVISION, &class_rev); class_rev &= 0xff; hwif->hwif_data = 0; hwif->rqsize = 128; if (is_sata(hwif) && is_dev_seagate_sata(&hwif->drives[0])) hwif->rqsize = 15; if (pci_get_drvdata(dev) == NULL) return; init_mmio_iops_siimage(hwif); }
static void __devinit siimage_fixup(ide_hwif_t *hwif) { /* Try and raise the rqsize */ if (!is_sata(hwif) || !is_dev_seagate_sata(&hwif->drives[0])) hwif->rqsize = 128; }