diff options
Diffstat (limited to 'drivers/ide/legacy/macide.c')
-rw-r--r-- | drivers/ide/legacy/macide.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/ide/legacy/macide.c b/drivers/ide/legacy/macide.c index c211fc78345d..b557c45a5a9d 100644 --- a/drivers/ide/legacy/macide.c +++ b/drivers/ide/legacy/macide.c | |||
@@ -77,15 +77,6 @@ int macide_ack_intr(ide_hwif_t* hwif) | |||
77 | return 0; | 77 | return 0; |
78 | } | 78 | } |
79 | 79 | ||
80 | #ifdef CONFIG_BLK_DEV_MAC_MEDIABAY | ||
81 | static void macide_mediabay_interrupt(int irq, void *dev_id) | ||
82 | { | ||
83 | int state = baboon->mb_status & 0x04; | ||
84 | |||
85 | printk(KERN_INFO "macide: media bay %s detected\n", state? "removal":"insertion"); | ||
86 | } | ||
87 | #endif | ||
88 | |||
89 | /* | 80 | /* |
90 | * Probe for a Macintosh IDE interface | 81 | * Probe for a Macintosh IDE interface |
91 | */ | 82 | */ |
@@ -128,11 +119,6 @@ void macide_init(void) | |||
128 | ide_drive_t *drive = &ide_hwifs[index].drives[0]; | 119 | ide_drive_t *drive = &ide_hwifs[index].drives[0]; |
129 | drive->capacity64 = drive->cyl*drive->head*drive->sect; | 120 | drive->capacity64 = drive->cyl*drive->head*drive->sect; |
130 | 121 | ||
131 | #ifdef CONFIG_BLK_DEV_MAC_MEDIABAY | ||
132 | request_irq(IRQ_BABOON_2, macide_mediabay_interrupt, | ||
133 | IRQ_FLG_FAST, "mediabay", | ||
134 | macide_mediabay_interrupt); | ||
135 | #endif | ||
136 | } | 122 | } |
137 | break; | 123 | break; |
138 | 124 | ||