]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/ata/sata_nv.c
libata-sff: separate out BMDMA init
[net-next-2.6.git] / drivers / ata / sata_nv.c
index 4269b9915e4364629e60bebc912652066eaaefc6..6fd1147841162272c493339284e8a2ab0b376291 100644 (file)
@@ -2430,7 +2430,7 @@ static int nv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 
        ppi[0] = &nv_port_info[type];
        ipriv = ppi[0]->private_data;
-       rc = ata_pci_sff_prepare_host(pdev, ppi, &host);
+       rc = ata_pci_bmdma_prepare_host(pdev, ppi, &host);
        if (rc)
                return rc;