!(ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR))) {
!(ap->flags & ATA_FLAG_PORT_DISABLED)) {
static inline unsigned int qs_intr_mmio(struct ata_host_set *host_set){	unsigned int handled = 0, port_no;	for (port_no = 0; port_no < host_set->n_ports; ++port_no) {		struct ata_port *ap;		ap = host_set->ports[port_no];		if (ap &&		    !(ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR))) {			struct ata_queued_cmd *qc;			struct qs_port_priv *pp = ap->private_data;			if (!pp || pp->state != qs_state_mmio)				continue;			qc = ata_qc_from_tag(ap, ap->active_tag);			if (qc && (!(qc->tf.ctl & ATA_NIEN))) {				/* check main status, clearing INTRQ */				u8 status = ata_chk_status(ap);				if ((status & ATA_BUSY))					continue;				DPRINTK("ata%u: protocol %d (dev_stat 0x%X)\n",					ap->id, qc->tf.protocol, status);				/* complete taskfile transaction */				pp->state = qs_state_idle;				ata_qc_complete(qc, status);				handled = 1;			}		}	}	return handled;}