[libata pdc_adma] update for removal of ATA_FLAG_NOINTR
This commit is contained in:
parent
4e0e329d9a
commit
be697c3f13
1 changed files with 2 additions and 2 deletions
|
@ -481,13 +481,13 @@ static inline unsigned int adma_intr_mmio(struct ata_host_set *host_set)
|
||||||
for (port_no = 0; port_no < host_set->n_ports; ++port_no) {
|
for (port_no = 0; port_no < host_set->n_ports; ++port_no) {
|
||||||
struct ata_port *ap;
|
struct ata_port *ap;
|
||||||
ap = host_set->ports[port_no];
|
ap = host_set->ports[port_no];
|
||||||
if (ap && (!(ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR)))) {
|
if (ap && (!(ap->flags & ATA_FLAG_PORT_DISABLED))) {
|
||||||
struct ata_queued_cmd *qc;
|
struct ata_queued_cmd *qc;
|
||||||
struct adma_port_priv *pp = ap->private_data;
|
struct adma_port_priv *pp = ap->private_data;
|
||||||
if (!pp || pp->state != adma_state_mmio)
|
if (!pp || pp->state != adma_state_mmio)
|
||||||
continue;
|
continue;
|
||||||
qc = ata_qc_from_tag(ap, ap->active_tag);
|
qc = ata_qc_from_tag(ap, ap->active_tag);
|
||||||
if (qc && (!(qc->tf.ctl & ATA_NIEN))) {
|
if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING))) {
|
||||||
|
|
||||||
/* check main status, clearing INTRQ */
|
/* check main status, clearing INTRQ */
|
||||||
u8 status = ata_chk_status(ap);
|
u8 status = ata_chk_status(ap);
|
||||||
|
|
Loading…
Add table
Reference in a new issue