diff options
Diffstat (limited to 'drivers/ata/pata_marvell.c')
-rw-r--r-- | drivers/ata/pata_marvell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_marvell.c b/drivers/ata/pata_marvell.c index 1c810ea00253..af93533551ac 100644 --- a/drivers/ata/pata_marvell.c +++ b/drivers/ata/pata_marvell.c | |||
@@ -45,10 +45,10 @@ static int marvell_pre_reset(struct ata_port *ap) | |||
45 | for(i = 0; i <= 0x0F; i++) | 45 | for(i = 0; i <= 0x0F; i++) |
46 | printk("%02X:%02X ", i, readb(barp + i)); | 46 | printk("%02X:%02X ", i, readb(barp + i)); |
47 | printk("\n"); | 47 | printk("\n"); |
48 | 48 | ||
49 | devices = readl(barp + 0x0C); | 49 | devices = readl(barp + 0x0C); |
50 | pci_iounmap(pdev, barp); | 50 | pci_iounmap(pdev, barp); |
51 | 51 | ||
52 | if ((pdev->device == 0x6145) && (ap->port_no == 0) && | 52 | if ((pdev->device == 0x6145) && (ap->port_no == 0) && |
53 | (!(devices & 0x10))) /* PATA enable ? */ | 53 | (!(devices & 0x10))) /* PATA enable ? */ |
54 | return -ENOENT; | 54 | return -ENOENT; |