]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ibm_emac/ibm_emac_mal.c
[Blackfin] serial driver: Fix bug serial driver in DMA mode spams history to console...
[linux-2.6-omap-h63xx.git] / drivers / net / ibm_emac / ibm_emac_mal.c
index 4e49e8c4f8715306c3606dc1e7b67542d589c674..dcd8826fc749964b96e596895daebdc967a33f5a 100644 (file)
@@ -413,7 +413,10 @@ static int __init mal_probe(struct ocp_device *ocpdev)
                       ocpdev->def->index);
                return -ENOMEM;
        }
-       mal->dcrbase = maldata->dcr_base;
+
+       /* XXX This only works for native dcr for now */
+       mal->dcrhost = dcr_map(NULL, maldata->dcr_base, 0);
+
        mal->def = ocpdev->def;
 
        INIT_LIST_HEAD(&mal->poll_list);