static void piix_sata_phy_reset(struct ata_port *ap) { if (!piix_sata_probe(ap)) { ata_port_disable(ap); printk(KERN_INFO "ata%u: SATA port has no device.\n", ap->id); return; } ap->cbl = ATA_CBL_SATA; ata_port_probe(ap); ata_bus_reset(ap); }
static void piix_pata_phy_reset(struct ata_port *ap) { if (!pci_test_config_bits(ap->host_set->pdev, &piix_enable_bits[ap->port_no])) { ata_port_disable(ap); printk(KERN_INFO "ata%u: port disabled. ignoring.\n", ap->id); return; } piix_pata_cbl_detect(ap); ata_port_probe(ap); ata_bus_reset(ap); }
static void svia_sata_phy_reset(struct ata_port *ap) { if (!pci_test_config_bits(ap->host_set->pdev, &svia_enable_bits[ap->port_no])) { ata_port_disable(ap); printk(KERN_INFO "ata%u: port disabled. ignoring.\n", ap->id); return; } ata_port_probe(ap); if (ap->flags & ATA_FLAG_PORT_DISABLED) return; ata_bus_reset(ap); }
static void piix_sata_phy_reset(struct ata_port *ap) { if (!pci_test_config_bits(ap->host_set->pdev, &piix_enable_bits[ap->port_no])) { ata_port_disable(ap); printk(KERN_INFO "ata%u: port disabled. ignoring.\n", ap->id); return; } if (!piix_sata_probe(ap)) { ata_port_disable(ap); printk(KERN_INFO "ata%u: SATA port has no device.\n", ap->id); return; } ap->cbl = ATA_CBL_SATA; ata_port_probe(ap); ata_bus_reset(ap); }
static void ixp4xx_phy_reset(struct ata_port *ap) { ap->cbl = ATA_CBL_PATA40; ata_port_probe(ap); ata_bus_reset(ap); }