diff options
Diffstat (limited to 'drivers/ide/legacy/macide.c')
-rw-r--r-- | drivers/ide/legacy/macide.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/legacy/macide.c b/drivers/ide/legacy/macide.c index 4c0079ad52ac..c211fc78345d 100644 --- a/drivers/ide/legacy/macide.c +++ b/drivers/ide/legacy/macide.c | |||
@@ -102,21 +102,21 @@ void macide_init(void) | |||
102 | 0, 0, macide_ack_intr, | 102 | 0, 0, macide_ack_intr, |
103 | // quadra_ide_iops, | 103 | // quadra_ide_iops, |
104 | IRQ_NUBUS_F); | 104 | IRQ_NUBUS_F); |
105 | index = ide_register_hw(&hw, &hwif); | 105 | index = ide_register_hw(&hw, 1, &hwif); |
106 | break; | 106 | break; |
107 | case MAC_IDE_PB: | 107 | case MAC_IDE_PB: |
108 | ide_setup_ports(&hw, IDE_BASE, macide_offsets, | 108 | ide_setup_ports(&hw, IDE_BASE, macide_offsets, |
109 | 0, 0, macide_ack_intr, | 109 | 0, 0, macide_ack_intr, |
110 | // macide_pb_iops, | 110 | // macide_pb_iops, |
111 | IRQ_NUBUS_C); | 111 | IRQ_NUBUS_C); |
112 | index = ide_register_hw(&hw, &hwif); | 112 | index = ide_register_hw(&hw, 1, &hwif); |
113 | break; | 113 | break; |
114 | case MAC_IDE_BABOON: | 114 | case MAC_IDE_BABOON: |
115 | ide_setup_ports(&hw, BABOON_BASE, macide_offsets, | 115 | ide_setup_ports(&hw, BABOON_BASE, macide_offsets, |
116 | 0, 0, NULL, | 116 | 0, 0, NULL, |
117 | // macide_baboon_iops, | 117 | // macide_baboon_iops, |
118 | IRQ_BABOON_1); | 118 | IRQ_BABOON_1); |
119 | index = ide_register_hw(&hw, &hwif); | 119 | index = ide_register_hw(&hw, 1, &hwif); |
120 | if (index == -1) break; | 120 | if (index == -1) break; |
121 | if (macintosh_config->ident == MAC_MODEL_PB190) { | 121 | if (macintosh_config->ident == MAC_MODEL_PB190) { |
122 | 122 | ||