/* pdc2027x_port_enabled - Check PDC ATA control register to see whether the port is enabled. @ap: Port to check  */
static int pdc2027x_port_enabled(struct ata_port *ap)
/* pdc2027x_port_enabled - Check PDC ATA control register to see whether the port is enabled. @ap: Port to check  */
static int pdc2027x_port_enabled(struct ata_port *ap)
{
	return ioread8(port_mmio(ap, PDC_ATA_CTL)) & 0x02;
}