Commit fcd3bb4b authored by Jeff Garzik's avatar Jeff Garzik

Merge redhat.com:/spare/repo/linux-2.6

into redhat.com:/spare/repo/misc-2.6
parents cfc615f2 a0c5b7fc
...@@ -3411,12 +3411,18 @@ static int __devinit via_init_one (struct pci_dev *pdev, const struct pci_device ...@@ -3411,12 +3411,18 @@ static int __devinit via_init_one (struct pci_dev *pdev, const struct pci_device
rc = pci_enable_device (pdev); rc = pci_enable_device (pdev);
if (rc) if (rc)
goto err_out; goto err_out;
rc = pci_request_regions (pdev, "via82cxxx_audio"); rc = pci_request_regions (pdev, "via82cxxx_audio");
if (rc) if (rc)
goto err_out_disable; goto err_out_disable;
rc = pci_set_dma_mask(pdev, 0xffffffffULL);
if (rc)
goto err_out_res;
rc = pci_set_consistent_dma_mask(pdev, 0xffffffffULL);
if (rc)
goto err_out_res;
card = kmalloc (sizeof (*card), GFP_KERNEL); card = kmalloc (sizeof (*card), GFP_KERNEL);
if (!card) { if (!card) {
printk (KERN_ERR PFX "out of memory, aborting\n"); printk (KERN_ERR PFX "out of memory, aborting\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment