Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271053
b: refs/heads/master
c: e544d70
h: refs/heads/master
i:
  271051: 4507e4f
v: v3
  • Loading branch information
Finn Thain authored and James Bottomley committed Sep 22, 2011
1 parent b8e7d75 commit b8e2548
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0599f8f37ee9d2f44bd79b6f66f9f46ba6514ace
refs/heads/master: e544d704f9bea6892808e453e219aa305bc0269a
9 changes: 0 additions & 9 deletions trunk/drivers/scsi/mac_esp.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ static void mac_esp_send_pdma_cmd(struct esp *esp, u32 addr, u32 esp_count,
u32 dma_count, int write, u8 cmd)
{
struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp);
unsigned long flags;

local_irq_save(flags);

mep->error = 0;

Expand Down Expand Up @@ -270,8 +267,6 @@ static void mac_esp_send_pdma_cmd(struct esp *esp, u32 addr, u32 esp_count,
esp_count = n;
}
} while (esp_count);

local_irq_restore(flags);
}

/*
Expand Down Expand Up @@ -353,8 +348,6 @@ static void mac_esp_send_pio_cmd(struct esp *esp, u32 addr, u32 esp_count,
struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp);
u8 *fifo = esp->regs + ESP_FDATA * 16;

disable_irq(esp->host->irq);

cmd &= ~ESP_CMD_DMA;
mep->error = 0;

Expand Down Expand Up @@ -431,8 +424,6 @@ static void mac_esp_send_pio_cmd(struct esp *esp, u32 addr, u32 esp_count,
scsi_esp_cmd(esp, ESP_CMD_TI);
}
}

enable_irq(esp->host->irq);
}

static int mac_esp_irq_pending(struct esp *esp)
Expand Down

0 comments on commit b8e2548

Please sign in to comment.