Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172848
b: refs/heads/master
c: dae7721
h: refs/heads/master
v: v3
  • Loading branch information
Vivek Mahajan authored and Jeff Garzik committed Dec 3, 2009
1 parent f574b53 commit 35474a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 097dac91837b35947fffb0e303bcf71e4e4a789f
refs/heads/master: dae77214fa71898b84514e43721fb7bf260b026a
9 changes: 9 additions & 0 deletions trunk/drivers/ata/sata_sil24.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,10 @@ static struct ata_port_operations sil24_ops = {
#endif
};

static int sata_sil24_msi; /* Disable MSI */
module_param_named(msi, sata_sil24_msi, bool, S_IRUGO);
MODULE_PARM_DESC(msi, "Enable MSI (Default: false)");

/*
* Use bits 30-31 of port_flags to encode available port numbers.
* Current maxium is 4.
Expand Down Expand Up @@ -1340,6 +1344,11 @@ static int sil24_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)

sil24_init_controller(host);

if (sata_sil24_msi && !pci_enable_msi(pdev)) {
dev_printk(KERN_INFO, &pdev->dev, "Using MSI\n");
pci_intx(pdev, 0);
}

pci_set_master(pdev);
return ata_host_activate(host, pdev->irq, sil24_interrupt, IRQF_SHARED,
&sil24_sht);
Expand Down

0 comments on commit 35474a2

Please sign in to comment.