diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/sata_mv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 874b60b2e20f..9e9fb9594781 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -3059,6 +3059,9 @@ static int mv_init_host(struct ata_host *host, unsigned int board_idx) | |||
3059 | hpriv->main_irq_mask_addr = mmio + PCI_HC_MAIN_IRQ_MASK_OFS; | 3059 | hpriv->main_irq_mask_addr = mmio + PCI_HC_MAIN_IRQ_MASK_OFS; |
3060 | } | 3060 | } |
3061 | 3061 | ||
3062 | /* initialize shadow irq mask with register's value */ | ||
3063 | hpriv->main_irq_mask = readl(hpriv->main_irq_mask_addr); | ||
3064 | |||
3062 | /* global interrupt mask: 0 == mask everything */ | 3065 | /* global interrupt mask: 0 == mask everything */ |
3063 | mv_set_main_irq_mask(host, ~0, 0); | 3066 | mv_set_main_irq_mask(host, ~0, 0); |
3064 | 3067 | ||