Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7624
b: refs/heads/master
c: ca20aa6
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Garzik committed Sep 7, 2005
1 parent 41ba269 commit d0305cb
Show file tree
Hide file tree
Showing 2 changed files with 17 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: 20f733e7d75a16bffc34842b7682c9247dd5f954
refs/heads/master: ca20aa6954bcb4537064a1bf5e8f74af57da2a03
16 changes: 16 additions & 0 deletions trunk/drivers/scsi/sata_mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,22 @@ static int mv_host_init(struct ata_probe_ent *probe_ent)
return rc;
}

/* move to PCI layer, integrate w/ MSI stuff */
static void pci_intx(struct pci_dev *pdev, int enable)
{
u16 pci_command, new;

pci_read_config_word(pdev, PCI_COMMAND, &pci_command);

if (enable)
new = pci_command & ~PCI_COMMAND_INTX_DISABLE;
else
new = pci_command | PCI_COMMAND_INTX_DISABLE;

if (new != pci_command)
pci_write_config_word(pdev, PCI_COMMAND, pci_command);
}

static int mv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
{
static int printed_version = 0;
Expand Down

0 comments on commit d0305cb

Please sign in to comment.