diff options
Diffstat (limited to 'drivers/ide/legacy/falconide.c')
-rw-r--r-- | drivers/ide/legacy/falconide.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ide/legacy/falconide.c b/drivers/ide/legacy/falconide.c index b861cfe25900..c1a84540beb1 100644 --- a/drivers/ide/legacy/falconide.c +++ b/drivers/ide/legacy/falconide.c | |||
@@ -75,10 +75,13 @@ void __init falconide_init(void) | |||
75 | hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]); | 75 | hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]); |
76 | if (hwif) { | 76 | if (hwif) { |
77 | u8 index = hwif->index; | 77 | u8 index = hwif->index; |
78 | u8 idx[4] = { index, 0xff, 0xff, 0xff }; | ||
78 | 79 | ||
79 | ide_init_port_data(hwif, index); | 80 | ide_init_port_data(hwif, index); |
80 | ide_init_port_hw(hwif, &hw); | 81 | ide_init_port_hw(hwif, &hw); |
81 | 82 | ||
82 | printk("ide%d: Falcon IDE interface\n", index); | 83 | printk("ide%d: Falcon IDE interface\n", index); |
84 | |||
85 | ide_device_add(idx); | ||
83 | } | 86 | } |
84 | } | 87 | } |