diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-06 04:36:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:01 -0500 |
commit | 7b892806b09dca77db8ef6acbb6c51271578d34d (patch) | |
tree | 594e77bbf8b9147d4cd39a67a89c26ada1572546 /drivers/ide | |
parent | b524b9adb3f655697fe6df9197b3ed6f14bc1729 (diff) |
cleanup after APUS removal
After the APUS removal, some code can be removed.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Karsten Keil <kkeil@suse.de>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-probe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index fd0ef8268950..6daea896c5db 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1049,7 +1049,7 @@ static int init_irq (ide_hwif_t *hwif) | |||
1049 | */ | 1049 | */ |
1050 | if (!match || match->irq != hwif->irq) { | 1050 | if (!match || match->irq != hwif->irq) { |
1051 | int sa = 0; | 1051 | int sa = 0; |
1052 | #if defined(__mc68000__) || defined(CONFIG_APUS) | 1052 | #if defined(__mc68000__) |
1053 | sa = IRQF_SHARED; | 1053 | sa = IRQF_SHARED; |
1054 | #endif /* __mc68000__ || CONFIG_APUS */ | 1054 | #endif /* __mc68000__ || CONFIG_APUS */ |
1055 | 1055 | ||
@@ -1072,7 +1072,7 @@ static int init_irq (ide_hwif_t *hwif) | |||
1072 | hwif->rqsize = 65536; | 1072 | hwif->rqsize = 65536; |
1073 | } | 1073 | } |
1074 | 1074 | ||
1075 | #if !defined(__mc68000__) && !defined(CONFIG_APUS) | 1075 | #if !defined(__mc68000__) |
1076 | printk("%s at 0x%03lx-0x%03lx,0x%03lx on irq %d", hwif->name, | 1076 | printk("%s at 0x%03lx-0x%03lx,0x%03lx on irq %d", hwif->name, |
1077 | hwif->io_ports[IDE_DATA_OFFSET], | 1077 | hwif->io_ports[IDE_DATA_OFFSET], |
1078 | hwif->io_ports[IDE_DATA_OFFSET]+7, | 1078 | hwif->io_ports[IDE_DATA_OFFSET]+7, |
@@ -1080,7 +1080,7 @@ static int init_irq (ide_hwif_t *hwif) | |||
1080 | #else | 1080 | #else |
1081 | printk("%s at 0x%08lx on irq %d", hwif->name, | 1081 | printk("%s at 0x%08lx on irq %d", hwif->name, |
1082 | hwif->io_ports[IDE_DATA_OFFSET], hwif->irq); | 1082 | hwif->io_ports[IDE_DATA_OFFSET], hwif->irq); |
1083 | #endif /* __mc68000__ && CONFIG_APUS */ | 1083 | #endif /* __mc68000__ */ |
1084 | if (match) | 1084 | if (match) |
1085 | printk(" (%sed with %s)", | 1085 | printk(" (%sed with %s)", |
1086 | hwif->sharing_irq ? "shar" : "serializ", match->name); | 1086 | hwif->sharing_irq ? "shar" : "serializ", match->name); |