aboutsummaryrefslogtreecommitdiff
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 35f24b9b821..15741367eb3 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -715,9 +715,10 @@ found:
hwif->chipset = hw->chipset;
hwif->gendev.parent = hw->dev;
- if (!initializing) {
- probe_hwif_init(hwif);
- ide_proc_register_port(hwif);
+ if (initializing == 0) {
+ u8 idx[4] = { index, 0xff, 0xff, 0xff };
+
+ ide_device_add(idx);
}
if (hwifp)