Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94890
b: refs/heads/master
c: 6d1cee4
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Bartlomiej Zolnierkiewicz committed Apr 29, 2008
1 parent 7b0d232 commit a4c502e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: b26b0c590066f65ff3b1ff438502f3c40ea39520
refs/heads/master: 6d1cee44361b8d06ccd1812e80448d86ae60dfe3
10 changes: 5 additions & 5 deletions trunk/drivers/ide/pci/alim15x3.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,14 +412,14 @@ static u8 __devinit ali_cable_detect(ide_hwif_t *hwif)
return cbl;
}

#ifndef CONFIG_SPARC64
#if !defined(CONFIG_SPARC64) && !defined(CONFIG_PPC)
/**
* init_hwif_ali15x3 - Initialize the ALI IDE x86 stuff
* @hwif: interface to configure
*
* Obtain the IRQ tables for an ALi based IDE solution on the PC
* class platforms. This part of the code isn't applicable to the
* Sparc systems
* Sparc and PowerPC systems.
*/

static void __devinit init_hwif_ali15x3 (ide_hwif_t *hwif)
Expand Down Expand Up @@ -463,7 +463,9 @@ static void __devinit init_hwif_ali15x3 (ide_hwif_t *hwif)
hwif->irq = irq;
}
}
#endif
#else
#define init_hwif_ali15x3 NULL
#endif /* !defined(CONFIG_SPARC64) && !defined(CONFIG_PPC) */

/**
* init_dma_ali15x3 - set up DMA on ALi15x3
Expand Down Expand Up @@ -517,9 +519,7 @@ static const struct ide_dma_ops ali_dma_ops = {
static const struct ide_port_info ali15x3_chipset __devinitdata = {
.name = "ALI15X3",
.init_chipset = init_chipset_ali15x3,
#ifndef CONFIG_SPARC64
.init_hwif = init_hwif_ali15x3,
#endif
.init_dma = init_dma_ali15x3,
.port_ops = &ali_port_ops,
.pio_mask = ATA_PIO5,
Expand Down

0 comments on commit a4c502e

Please sign in to comment.