]> err.no Git - linux-2.6/blobdiff - drivers/ide/ide-probe.c
ht6560b: remove old history
[linux-2.6] / drivers / ide / ide-probe.c
index 890c15b1b3aec919273b7d0db8cb2353d7f5566a..f0c162488ec4e1fe45dc62fb870c50880c07923d 100644 (file)
@@ -1595,6 +1595,8 @@ struct ide_host *ide_host_alloc_all(const struct ide_port_info *d,
 
                ide_init_port_data(hwif, idx);
 
+               hwif->host = host;
+
                host->ports[i] = hwif;
                host->n_ports++;
        }
@@ -1607,6 +1609,9 @@ struct ide_host *ide_host_alloc_all(const struct ide_port_info *d,
        if (hws[0])
                host->dev[0] = hws[0]->dev;
 
+       if (d)
+               host->host_flags = d->host_flags;
+
        return host;
 }
 EXPORT_SYMBOL_GPL(ide_host_alloc_all);