Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37651
b: refs/heads/master
c: df10f4e
h: refs/heads/master
i:
  37649: 4b1f8f8
  37647: 7967f29
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Oct 1, 2006
1 parent 745ddc4 commit 21fcd8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1aff0ecafb5e94515dc37849fd32a810554f34f4
refs/heads/master: df10f4edd5f097251c62f1d4a3adea778100b4a8
7 changes: 4 additions & 3 deletions trunk/drivers/message/i2o/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,13 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev,
* Expose the ship behind i960 for initialization, or it will
* failed
*/
i960 =
pci_find_slot(c->pdev->bus->number,
i960 = pci_get_slot(c->pdev->bus,
PCI_DEVFN(PCI_SLOT(c->pdev->devfn), 0));

if (i960)
if (i960) {
pci_write_config_word(i960, 0x42, 0);
pci_dev_put(i960);
}

c->promise = 1;
c->limit_sectors = 1;
Expand Down

0 comments on commit 21fcd8f

Please sign in to comment.