Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112876
b: refs/heads/master
c: a2cdee5
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Oct 10, 2008
1 parent 62f6fd3 commit 006b8d3
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 7c199a5496d0579d388636ee34a954e2e566d2fb
refs/heads/master: a2cdee5a9a93360165d0576bbc7e9ccb3127afee
3 changes: 2 additions & 1 deletion trunk/drivers/ide/ide-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,8 @@ static int init_irq (ide_hwif_t *hwif)
sa = IRQF_SHARED;
#endif /* __mc68000__ */

if (IDE_CHIPSET_IS_PCI(hwif->chipset))
if (hwif->chipset == ide_pci || hwif->chipset == ide_cmd646 ||
hwif->chipset == ide_ali14xx)
sa = IRQF_SHARED;

if (io_ports->ctl_addr)
Expand Down
4 changes: 0 additions & 4 deletions trunk/include/linux/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -473,10 +473,6 @@ typedef struct ide_drive_s ide_drive_t;

#define to_ide_device(dev)container_of(dev, ide_drive_t, gendev)

#define IDE_CHIPSET_PCI_MASK \
((1<<ide_pci)|(1<<ide_cmd646)|(1<<ide_ali14xx))
#define IDE_CHIPSET_IS_PCI(c) ((IDE_CHIPSET_PCI_MASK >> (c)) & 1)

struct ide_task_s;
struct ide_port_info;

Expand Down

0 comments on commit 006b8d3

Please sign in to comment.